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 "ste-nomadik-stn8815.dtsi"
11 model = "Calao Systems USB-S8815";
12 compatible = "calaosystems,usb-s8815";
15 bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
23 gpio3: gpio@101e7000 {
24 /* This hog will bias the MMC/SD card detect line */
29 line-name = "card detect bias";
34 /* These chrystal drivers are not used on this board */
41 pinctrl-names = "default";
42 pinctrl-0 = <&cd_default_mode>;
45 /* Only use RX/TX pins */
46 uart0_s8815_mode: uart0_mux {
49 groups = "u0txrx_a_1";
54 cd_default_mode: cd_default {
68 gpioi2c_default_mode: gpioi2c_default {
70 pins = "GPIO73_C21", "GPIO74_C20";
76 user_led_default_mode: user_led_default {
77 user_led_default_cfg {
84 user_button_default_mode: user_button_default {
85 user_button_default_cfg {
94 external-bus@34000000 {
95 compatible = "simple-bus";
96 reg = <0x34000000 0x1000000>;
99 ranges = <0 0x34000000 0x1000000>;
101 compatible = "smsc,lan91c111";
102 reg = <0x300 0x0fd00>;
103 interrupt-parent = <&gpio3>;
104 interrupts = <8 IRQ_TYPE_EDGE_RISING>;
108 /* GPIO I2C connected to the USB portions of the STw4811 only */
110 compatible = "i2c-gpio";
111 gpios = <&gpio2 10 0>, /* sda */
112 <&gpio2 9 0>; /* scl */
113 #address-cells = <1>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&gpioi2c_default_mode>;
119 compatible = "st,stw4811-usb";
126 /* Activate RXTX on UART 0 */
127 uart0: uart@101fd000 {
128 pinctrl-names = "default";
129 pinctrl-0 = <&uart0_s8815_mode>;
132 /* Configure card detect for the uSD slot */
133 mmcsd: sdi@101f6000 {
134 cd-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
138 /* The user LED on the board is set up to be used for heartbeat */
140 compatible = "gpio-leds";
143 gpios = <&gpio0 2 0x1>;
144 default-state = "off";
145 linux,default-trigger = "heartbeat";
146 pinctrl-names = "default";
147 pinctrl-0 = <&user_led_default_mode>;
151 /* User key mapped in as "escape" */
153 compatible = "gpio-keys";
155 label = "user_button";
156 gpios = <&gpio0 3 0x1>;
157 linux,code = <1>; /* KEY_ESC */
159 pinctrl-names = "default";
160 pinctrl-0 = <&user_button_default_mode>;