1279377Simp/* 2279377Simp * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff) 3279377Simp * 4279377Simp * Written by: Aaro Koskinen <aaro.koskinen@iki.fi> 5279377Simp * 6279377Simp * This program is free software; you can redistribute it and/or modify 7279377Simp * it under the terms of the GNU General Public License version 2 as 8279377Simp * published by the Free Software Foundation. 9279377Simp */ 10279377Simp 11279377Simp#include "omap36xx-hs.dtsi" 12279377Simp 13279377Simp/ { 14279377Simp cpus { 15279377Simp cpu@0 { 16279377Simp cpu0-supply = <&vcc>; 17279377Simp }; 18279377Simp }; 19279377Simp 20279377Simp memory { 21279377Simp device_type = "memory"; 22279377Simp reg = <0x80000000 0x40000000>; /* 1 GB */ 23279377Simp }; 24279377Simp 25279377Simp vemmc: fixedregulator@0 { 26279377Simp compatible = "regulator-fixed"; 27279377Simp regulator-name = "VEMMC"; 28279377Simp regulator-min-microvolt = <2900000>; 29279377Simp regulator-max-microvolt = <2900000>; 30279377Simp gpio = <&gpio5 29 0>; /* gpio line 157 */ 31279377Simp startup-delay-us = <150>; 32279377Simp enable-active-high; 33279377Simp }; 34279377Simp}; 35279377Simp 36279377Simp&omap3_pmx_core { 37279377Simp mmc2_pins: pinmux_mmc2_pins { 38279377Simp pinctrl-single,pins = < 39279377Simp 0x128 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_clk */ 40279377Simp 0x12a (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_cmd */ 41279377Simp 0x12c (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat0 */ 42279377Simp 0x12e (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat1 */ 43279377Simp 0x130 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat2 */ 44279377Simp 0x132 (PIN_INPUT_PULLUP | MUX_MODE0) /* sdmmc2_dat3 */ 45279377Simp >; 46279377Simp }; 47279377Simp}; 48279377Simp 49279377Simp&i2c1 { 50279377Simp clock-frequency = <2900000>; 51279377Simp 52279377Simp twl: twl@48 { 53279377Simp reg = <0x48>; 54279377Simp interrupts = <7>; /* SYS_NIRQ cascaded to intc */ 55279377Simp interrupt-parent = <&intc>; 56279377Simp }; 57279377Simp}; 58279377Simp 59279377Simp/include/ "twl4030.dtsi" 60279377Simp 61279377Simp&twl { 62279377Simp compatible = "ti,twl5031"; 63279377Simp 64279377Simp twl_power: power { 65279377Simp compatible = "ti,twl4030-power"; 66279377Simp ti,use_poweroff; 67279377Simp }; 68279377Simp}; 69279377Simp 70279377Simp&twl_gpio { 71279377Simp ti,pullups = <0x000001>; /* BIT(0) */ 72279377Simp ti,pulldowns = <0x008106>; /* BIT(1) | BIT(2) | BIT(8) | BIT(15) */ 73279377Simp}; 74279377Simp 75279377Simp/* CSI-2 receiver */ 76279377Simp&vaux2 { 77279377Simp regulator-name = "vaux2"; 78279377Simp regulator-min-microvolt = <1800000>; 79279377Simp regulator-max-microvolt = <1800000>; 80279377Simp}; 81279377Simp 82279377Simp/* Cameras */ 83279377Simp&vaux3 { 84279377Simp regulator-name = "vaux3"; 85279377Simp regulator-min-microvolt = <2800000>; 86279377Simp regulator-max-microvolt = <2800000>; 87279377Simp}; 88279377Simp 89279377Simp&i2c2 { 90279377Simp clock-frequency = <400000>; 91279377Simp}; 92279377Simp 93279377Simp&i2c3 { 94279377Simp clock-frequency = <400000>; 95279377Simp}; 96279377Simp 97279377Simp&mmc1 { 98279377Simp status = "disabled"; 99279377Simp}; 100279377Simp 101279377Simp&mmc2 { 102279377Simp pinctrl-names = "default"; 103279377Simp pinctrl-0 = <&mmc2_pins>; 104279377Simp vmmc-supply = <&vemmc>; 105279377Simp bus-width = <4>; 106279377Simp ti,non-removable; 107279377Simp}; 108279377Simp 109279377Simp&mmc3 { 110279377Simp status = "disabled"; 111279377Simp}; 112279377Simp 113279377Simp&usb_otg_hs { 114279377Simp interface-type = <0>; 115279377Simp usb-phy = <&usb2_phy>; 116279377Simp phys = <&usb2_phy>; 117279377Simp phy-names = "usb2-phy"; 118279377Simp mode = <3>; 119279377Simp power = <50>; 120279377Simp}; 121279377Simp 122279377Simp&gpmc { 123279377Simp ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */ 124279377Simp 125279377Simp onenand@0,0 { 126279377Simp #address-cells = <1>; 127279377Simp #size-cells = <1>; 128279377Simp reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */ 129279377Simp 130279377Simp gpmc,sync-read; 131279377Simp gpmc,sync-write; 132279377Simp gpmc,burst-length = <16>; 133279377Simp gpmc,burst-read; 134279377Simp gpmc,burst-wrap; 135279377Simp gpmc,burst-write; 136279377Simp gpmc,device-width = <2>; 137279377Simp gpmc,mux-add-data = <2>; 138279377Simp gpmc,cs-on-ns = <0>; 139279377Simp gpmc,cs-rd-off-ns = <87>; 140279377Simp gpmc,cs-wr-off-ns = <87>; 141279377Simp gpmc,adv-on-ns = <0>; 142279377Simp gpmc,adv-rd-off-ns = <10>; 143279377Simp gpmc,adv-wr-off-ns = <10>; 144279377Simp gpmc,oe-on-ns = <15>; 145279377Simp gpmc,oe-off-ns = <87>; 146279377Simp gpmc,we-on-ns = <0>; 147279377Simp gpmc,we-off-ns = <87>; 148279377Simp gpmc,rd-cycle-ns = <112>; 149279377Simp gpmc,wr-cycle-ns = <112>; 150279377Simp gpmc,access-ns = <81>; 151279377Simp gpmc,page-burst-access-ns = <15>; 152279377Simp gpmc,bus-turnaround-ns = <0>; 153279377Simp gpmc,cycle2cycle-delay-ns = <0>; 154279377Simp gpmc,wait-monitoring-ns = <0>; 155279377Simp gpmc,clk-activation-ns = <5>; 156279377Simp gpmc,wr-data-mux-bus-ns = <30>; 157279377Simp gpmc,wr-access-ns = <81>; 158279377Simp gpmc,sync-clk-ps = <15000>; 159279377Simp 160279377Simp /* 161279377Simp * MTD partition table corresponding to Nokia's MeeGo 1.2 162279377Simp * Harmattan release. 163279377Simp */ 164279377Simp partition@0 { 165279377Simp label = "bootloader"; 166279377Simp reg = <0x00000000 0x00100000>; 167279377Simp }; 168279377Simp partition@1 { 169279377Simp label = "config"; 170279377Simp reg = <0x00100000 0x002c0000>; 171279377Simp }; 172279377Simp partition@2 { 173279377Simp label = "kernel"; 174279377Simp reg = <0x003c0000 0x01000000>; 175279377Simp }; 176279377Simp partition@3 { 177279377Simp label = "log"; 178279377Simp reg = <0x013c0000 0x00200000>; 179279377Simp }; 180279377Simp partition@4 { 181279377Simp label = "var"; 182279377Simp reg = <0x015c0000 0x1ca40000>; 183279377Simp }; 184279377Simp partition@5 { 185279377Simp label = "moslo"; 186279377Simp reg = <0x1e000000 0x02000000>; 187279377Simp }; 188279377Simp partition@6 { 189279377Simp label = "omap2-onenand"; 190279377Simp reg = <0x00000000 0x20000000>; 191279377Simp }; 192279377Simp }; 193279377Simp}; 194