2 * Device Tree for the ST-Ericsson Nomadik S8815 board
3 * Produced by Calao Systems
7 /include/ "ste-nomadik-stn8815.dtsi"
10 model = "Calao Systems USB-S8815";
11 compatible = "calaosystems,usb-s8815";
14 bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
17 /* This is where the interrupt is routed on the S8815 board */
18 external-bus@34000000 {
20 interrupt-parent = <&gpio3>;
26 /* These chrystal drivers are not used on this board */
33 pinctrl-names = "default";
34 pinctrl-0 = <&cd_default_mode>;
37 cd_default_mode: cd_default {
40 ste,pins = "GPIO111_H21";
45 ste,pins = "GPIO112_J21";
51 user_led_default_mode: user_led_default {
52 user_led_default_cfg {
53 ste,pins = "GPIO2_C5";
59 user_button_default_mode: user_button_default {
60 user_button_default_cfg {
61 ste,pins = "GPIO3_A4";
68 /* Custom board node with GPIO pins to active etc */
70 /* The S8815 is using this very GPIO pin for the SMSC91x IRQs */
72 gpios = <&gpio3 8 0x1>;
74 /* This will bias the MMC/SD card detect line */
76 gpios = <&gpio3 16 0x1>;
80 /* The user LED on the board is set up to be used for heartbeat */
82 compatible = "gpio-leds";
85 gpios = <&gpio0 2 0x1>;
86 default-state = "off";
87 linux,default-trigger = "heartbeat";
88 pinctrl-names = "default";
89 pinctrl-0 = <&user_led_default_mode>;
93 /* User key mapped in as "escape" */
95 compatible = "gpio-keys";
97 label = "user_button";
98 gpios = <&gpio0 3 0x1>;
99 linux,code = <1>; /* KEY_ESC */
101 pinctrl-names = "default";
102 pinctrl-0 = <&user_button_default_mode>;