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";
19 /* These chrystal drivers are not used on this board */
26 pinctrl-names = "default";
27 pinctrl-0 = <&cd_default_mode>;
30 cd_default_mode: cd_default {
44 gpioi2c_default_mode: gpioi2c_default {
46 pins = "GPIO73_C21", "GPIO74_C20";
52 user_led_default_mode: user_led_default {
53 user_led_default_cfg {
60 user_button_default_mode: user_button_default {
61 user_button_default_cfg {
70 external-bus@34000000 {
71 compatible = "simple-bus";
72 reg = <0x34000000 0x1000000>;
75 ranges = <0 0x34000000 0x1000000>;
77 compatible = "smsc,lan91c111";
78 reg = <0x300 0x0fd00>;
79 interrupt-parent = <&gpio3>;
80 interrupts = <8 IRQ_TYPE_EDGE_RISING>;
84 /* GPIO I2C connected to the USB portions of the STw4811 only */
86 compatible = "i2c-gpio";
87 gpios = <&gpio2 10 0>, /* sda */
88 <&gpio2 9 0>; /* scl */
91 pinctrl-names = "default";
92 pinctrl-0 = <&gpioi2c_default_mode>;
95 compatible = "st,stw4811-usb";
101 /* Configure card detect for the uSD slot */
103 mmcsd: sdi@101f6000 {
104 cd-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
108 /* Custom board node with GPIO pins to active etc */
110 /* This will bias the MMC/SD card detect line */
112 gpios = <&gpio3 16 0x1>;
116 /* The user LED on the board is set up to be used for heartbeat */
118 compatible = "gpio-leds";
121 gpios = <&gpio0 2 0x1>;
122 default-state = "off";
123 linux,default-trigger = "heartbeat";
124 pinctrl-names = "default";
125 pinctrl-0 = <&user_led_default_mode>;
129 /* User key mapped in as "escape" */
131 compatible = "gpio-keys";
133 label = "user_button";
134 gpios = <&gpio0 3 0x1>;
135 linux,code = <1>; /* KEY_ESC */
137 pinctrl-names = "default";
138 pinctrl-0 = <&user_button_default_mode>;