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";
179 /* Activate RX/TX and CTS/RTS on UART 0 */
180 uart0: uart@101fd000 {
181 pinctrl-names = "default";
182 pinctrl-0 = <&uart0_nhk_mode>;
185 mmcsd: sdi@101f6000 {
186 cd-gpios = <&stmpe_gpio44 7 GPIO_ACTIVE_LOW>;
187 wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>;
192 compatible = "pwm-backlight";
193 pwms = <&stmpe0_pwm 0 500000>;
194 pwm-names = "backlight";
195 brightness-levels = <
197 10 11 12 13 14 15 16 17 18 19
198 20 21 22 23 24 25 26 27 28 29
199 30 31 32 33 34 35 36 37 38 39
200 40 41 42 43 44 45 46 47 48 49
201 50 51 52 53 54 55 56 57 58 59
202 60 61 62 63 64 65 66 67 68 69
203 70 71 72 73 74 75 76 77 78 79
204 80 81 82 83 84 85 86 87 88 89
205 90 91 92 93 94 95 96 97 98 99
208 default-brightness-level = <100>;