1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree for the ST-Ericsson Nomadik S8815 board
4 * Produced by Calao Systems
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include "ste-nomadik-stn8815.dtsi"
12 model = "Calao Systems USB-S8815";
13 compatible = "calaosystems,usb-s8815";
16 bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
24 gpio3: gpio@101e7000 {
25 /* This hog will bias the MMC/SD card detect line */
30 line-name = "card detect bias";
35 /* These chrystal drivers are not used on this board */
42 pinctrl-names = "default";
43 pinctrl-0 = <&cd_default_mode>;
46 /* Only use RX/TX pins */
47 uart0_s8815_mode: uart0_mux {
50 groups = "u0txrx_a_1";
55 cd_default_mode: cd_default {
69 gpioi2c_default_mode: gpioi2c_default {
71 pins = "GPIO73_C21", "GPIO74_C20";
77 user_led_default_mode: user_led_default {
78 user_led_default_cfg {
85 user_button_default_mode: user_button_default {
86 user_button_default_cfg {
95 external-bus@34000000 {
96 compatible = "simple-bus";
97 reg = <0x34000000 0x1000000>;
100 ranges = <0 0x34000000 0x1000000>;
102 compatible = "smsc,lan91c111";
103 reg = <0x300 0x0fd00>;
104 interrupt-parent = <&gpio3>;
105 interrupts = <8 IRQ_TYPE_EDGE_RISING>;
112 compatible = "st,lis3lv02dl-accel";
117 /* GPIO I2C connected to the USB portions of the STw4811 only */
119 compatible = "i2c-gpio";
120 gpios = <&gpio2 10 0>, /* sda */
121 <&gpio2 9 0>; /* scl */
122 #address-cells = <1>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&gpioi2c_default_mode>;
128 compatible = "st,stw4811-usb";
135 /* Activate RXTX on UART 0 */
136 uart0: uart@101fd000 {
137 pinctrl-names = "default";
138 pinctrl-0 = <&uart0_s8815_mode>;
141 /* Configure card detect for the uSD slot */
142 mmcsd: sdi@101f6000 {
143 cd-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
147 /* The user LED on the board is set up to be used for heartbeat */
149 compatible = "gpio-leds";
152 gpios = <&gpio0 2 0x1>;
153 default-state = "off";
154 linux,default-trigger = "heartbeat";
155 pinctrl-names = "default";
156 pinctrl-0 = <&user_led_default_mode>;
160 /* User key mapped in as "escape" */
162 compatible = "gpio-keys";
164 label = "user_button";
165 gpios = <&gpio0 3 0x1>;
166 linux,code = <1>; /* KEY_ESC */
168 pinctrl-names = "default";
169 pinctrl-0 = <&user_button_default_mode>;