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
144 stmpe1: stmpe2401@44 {
145 compatible = "st,stmpe2401";
147 reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; // GPIO79
148 interrupts = <14 IRQ_TYPE_EDGE_FALLING>; // GPIO78
149 interrupt-parent = <&gpio2>;
150 interrupt-controller;
152 pinctrl-names = "default";
153 pinctrl-0 = <&stmpe2401_2_nhk_mode>;
154 stmpe_gpio44: stmpe_gpio {
155 compatible = "st,stmpe-gpio";
158 interrupt-controller;
159 #interrupt-cells = <2>;
161 * This will turn off SATA so that MMC/SD
168 line-name = "SATA EN";
175 /* Activate RX/TX and CTS/RTS on UART 0 */
176 uart0: uart@101fd000 {
177 pinctrl-names = "default";
178 pinctrl-0 = <&uart0_nhk_mode>;
181 mmcsd: sdi@101f6000 {
182 cd-gpios = <&stmpe_gpio44 7 GPIO_ACTIVE_LOW>;
183 wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>;