2 * Device Tree for the ST-Ericsson Nomadik S8815 board
3 * Produced by Calao Systems
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include "ste-nomadik-stn8815.dtsi"
12 model = "Nomadik STN8815NHK";
13 compatible = "st,nomadik-nhk-15";
16 bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
28 uart0_nhk_mode: uart0_mux {
31 groups = "u0txrx_a_1", "u0ctsrts_a_1";
37 stmpe2401_1_nhk_mode: stmpe2401_1_nhk {
39 pins = "GPIO76_B20"; // IRQ line
43 pins = "GPIO77_B8"; // reset line
49 stmpe2401_2_nhk_mode: stmpe2401_2_nhk {
51 pins = "GPIO78_A8"; // IRQ line
55 pins = "GPIO79_C9"; // reset line
61 lis3lv02dl_nhk_mode: lis3lv02dl_nhk {
63 pins = "GPIO82_C10"; // IRQ line
70 /* These chrystal outputs are not used on this board */
75 /* This is where the interrupt is routed on the NHK-15 debug board */
76 external-bus@34000000 {
77 compatible = "simple-bus";
78 reg = <0x34000000 0x1000000>;
81 ranges = <0 0x34000000 0x1000000>;
83 compatible = "smsc,lan91c111";
84 reg = <0x300 0x0fd00>;
86 reset-gpios = <&stmpe_gpio44 10 GPIO_ACTIVE_HIGH>;
87 interrupt-parent = <&stmpe_gpio44>;
88 interrupts = <11 IRQ_TYPE_EDGE_RISING>;
95 compatible = "st,lis3lv02dl-accel";
96 interrupt-parent = <&gpio2>;
97 interrupts = <18 IRQ_TYPE_EDGE_RISING>; // GPIO 82
98 pinctrl-0 = <&lis3lv02dl_nhk_mode>;
99 pinctrl-names = "default";
102 stmpe0: stmpe2401@43 {
103 compatible = "st,stmpe2401";
105 reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>; // GPIO77
106 interrupts = <12 IRQ_TYPE_EDGE_FALLING>; // GPIO76
107 interrupt-parent = <&gpio2>;
108 interrupt-controller;
110 pinctrl-names = "default";
111 pinctrl-0 = <&stmpe2401_1_nhk_mode>;
112 stmpe_gpio43: stmpe_gpio {
113 compatible = "st,stmpe-gpio";
116 interrupt-controller;
117 #interrupt-cells = <2>;
118 /* Some pins in alternate functions */
119 st,norequest-mask = <0xf0f002>;
122 compatible = "st,stmpe-keypad";
123 debounce-interval = <64>;
126 keypad,num-rows = <8>;
127 keypad,num-columns = <8>;
128 linux,keymap = <0x00020072 // Vol down
143 stmpe0_pwm: stmpe_pwm {
144 compatible = "st,stmpe-pwm";
148 stmpe1: stmpe2401@44 {
149 compatible = "st,stmpe2401";
151 reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; // GPIO79
152 interrupts = <14 IRQ_TYPE_EDGE_FALLING>; // GPIO78
153 interrupt-parent = <&gpio2>;
154 interrupt-controller;
156 pinctrl-names = "default";
157 pinctrl-0 = <&stmpe2401_2_nhk_mode>;
158 stmpe_gpio44: stmpe_gpio {
159 compatible = "st,stmpe-gpio";
162 interrupt-controller;
163 #interrupt-cells = <2>;
165 * This will turn off SATA so that MMC/SD
172 line-name = "SATA EN";
181 pinctrl-names = "default";
182 pinctrl-0 = <&clcd_24bit_mux>;
184 nomadik_clcd_pads: endpoint {
185 remote-endpoint = <&nomadik_clcd_panel>;
186 arm,pl11x,tft-r0g0b0-pads = <16 8 0>;
192 * WVGA (800x480): 4.3" TPG110 TDO43MTEA2 24-bit RGB
193 * with TPO touch screen.
196 compatible = "tpo,tpg110", "panel-dpi";
197 grestb-gpios = <&stmpe_gpio44 5 GPIO_ACTIVE_LOW>;
198 scen-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
199 scl-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
200 sda-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
204 nomadik_clcd_panel: endpoint {
205 remote-endpoint = <&nomadik_clcd_pads>;
210 clock-frequency = <33200000>;
223 /* Activate RX/TX and CTS/RTS on UART 0 */
224 uart0: uart@101fd000 {
225 pinctrl-names = "default";
226 pinctrl-0 = <&uart0_nhk_mode>;
229 mmcsd: sdi@101f6000 {
230 cd-gpios = <&stmpe_gpio44 7 GPIO_ACTIVE_LOW>;
231 wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>;
236 compatible = "pwm-backlight";
237 pwms = <&stmpe0_pwm 0 500000>;
238 pwm-names = "backlight";
239 brightness-levels = <
241 10 11 12 13 14 15 16 17 18 19
242 20 21 22 23 24 25 26 27 28 29
243 30 31 32 33 34 35 36 37 38 39
244 40 41 42 43 44 45 46 47 48 49
245 50 51 52 53 54 55 56 57 58 59
246 60 61 62 63 64 65 66 67 68 69
247 70 71 72 73 74 75 76 77 78 79
248 80 81 82 83 84 85 86 87 88 89
249 90 91 92 93 94 95 96 97 98 99
252 default-brightness-level = <100>;