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 /* These chrystal drivers are not used on this board */
30 pinctrl-names = "default";
31 pinctrl-0 = <&cd_default_mode>;
34 cd_default_mode: cd_default {
48 gpioi2c_default_mode: gpioi2c_default {
50 pins = "GPIO73_C21", "GPIO74_C20";
56 user_led_default_mode: user_led_default {
57 user_led_default_cfg {
64 user_button_default_mode: user_button_default {
65 user_button_default_cfg {
74 external-bus@34000000 {
75 compatible = "simple-bus";
76 reg = <0x34000000 0x1000000>;
79 ranges = <0 0x34000000 0x1000000>;
81 compatible = "smsc,lan91c111";
82 reg = <0x300 0x0fd00>;
83 interrupt-parent = <&gpio3>;
84 interrupts = <8 IRQ_TYPE_EDGE_RISING>;
88 /* GPIO I2C connected to the USB portions of the STw4811 only */
90 compatible = "i2c-gpio";
91 gpios = <&gpio2 10 0>, /* sda */
92 <&gpio2 9 0>; /* scl */
95 pinctrl-names = "default";
96 pinctrl-0 = <&gpioi2c_default_mode>;
99 compatible = "st,stw4811-usb";
105 /* Configure card detect for the uSD slot */
107 mmcsd: sdi@101f6000 {
108 cd-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
112 /* Custom board node with GPIO pins to active etc */
114 /* This will bias the MMC/SD card detect line */
116 gpios = <&gpio3 16 0x1>;
120 /* The user LED on the board is set up to be used for heartbeat */
122 compatible = "gpio-leds";
125 gpios = <&gpio0 2 0x1>;
126 default-state = "off";
127 linux,default-trigger = "heartbeat";
128 pinctrl-names = "default";
129 pinctrl-0 = <&user_led_default_mode>;
133 /* User key mapped in as "escape" */
135 compatible = "gpio-keys";
137 label = "user_button";
138 gpios = <&gpio0 3 0x1>;
139 linux,code = <1>; /* KEY_ESC */
141 pinctrl-names = "default";
142 pinctrl-0 = <&user_button_default_mode>;