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
63 /* These chrystal outputs are not used on this board */
68 /* This is where the interrupt is routed on the NHK-15 debug board */
69 external-bus@34000000 {
70 compatible = "simple-bus";
71 reg = <0x34000000 0x1000000>;
74 ranges = <0 0x34000000 0x1000000>;
76 compatible = "smsc,lan91c111";
77 reg = <0x300 0x0fd00>;
79 reset-gpios = <&stmpe_gpio44 10 GPIO_ACTIVE_HIGH>;
80 interrupt-parent = <&stmpe_gpio44>;
81 interrupts = <11 IRQ_TYPE_EDGE_RISING>;
88 compatible = "st,lis3lv02dl-accel";
91 stmpe0: stmpe2401@43 {
92 compatible = "st,stmpe2401";
94 reset-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>; // GPIO77
95 interrupts = <12 IRQ_TYPE_EDGE_FALLING>; // GPIO76
96 interrupt-parent = <&gpio2>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&stmpe2401_1_nhk_mode>;
101 stmpe_gpio43: stmpe_gpio {
102 compatible = "st,stmpe-gpio";
105 interrupt-controller;
106 #interrupt-cells = <2>;
107 /* Some pins in alternate functions */
108 st,norequest-mask = <0xf0f002>;
111 compatible = "st,stmpe-keypad";
112 debounce-interval = <64>;
115 keypad,num-rows = <8>;
116 keypad,num-columns = <8>;
117 linux,keymap = <0x00020072 // Vol down
133 stmpe1: stmpe2401@44 {
134 compatible = "st,stmpe2401";
136 reset-gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; // GPIO79
137 interrupts = <14 IRQ_TYPE_EDGE_FALLING>; // GPIO78
138 interrupt-parent = <&gpio2>;
139 interrupt-controller;
141 pinctrl-names = "default";
142 pinctrl-0 = <&stmpe2401_2_nhk_mode>;
143 stmpe_gpio44: stmpe_gpio {
144 compatible = "st,stmpe-gpio";
147 interrupt-controller;
148 #interrupt-cells = <2>;
150 * This will turn off SATA so that MMC/SD
157 line-name = "SATA EN";
164 /* Activate RX/TX and CTS/RTS on UART 0 */
165 uart0: uart@101fd000 {
166 pinctrl-names = "default";
167 pinctrl-0 = <&uart0_nhk_mode>;
170 mmcsd: sdi@101f6000 {
171 cd-gpios = <&stmpe_gpio44 7 GPIO_ACTIVE_LOW>;
172 wp-gpios = <&stmpe_gpio44 18 GPIO_ACTIVE_HIGH>;