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>;
27 pinctrl-names = "default";
28 pinctrl-0 = <&cd_default_mode>;
31 cd_default_mode: cd_default {
34 ste,pins = "GPIO111_H21";
39 ste,pins = "GPIO112_J21";
45 user_led_default_mode: user_led_default {
46 user_led_default_cfg {
47 ste,pins = "GPIO2_C5";
53 user_button_default_mode: user_button_default {
54 user_button_default_cfg {
55 ste,pins = "GPIO3_A4";
62 /* Custom board node with GPIO pins to active etc */
64 /* The S8815 is using this very GPIO pin for the SMSC91x IRQs */
66 gpios = <&gpio3 8 0x1>;
68 /* This will bias the MMC/SD card detect line */
70 gpios = <&gpio3 16 0x1>;
74 /* The user LED on the board is set up to be used for heartbeat */
76 compatible = "gpio-leds";
79 gpios = <&gpio0 2 0x1>;
80 default-state = "off";
81 linux,default-trigger = "heartbeat";
82 pinctrl-names = "default";
83 pinctrl-0 = <&user_led_default_mode>;
87 /* User key mapped in as "escape" */
89 compatible = "gpio-keys";
91 label = "user_button";
92 gpios = <&gpio0 3 0x1>;
93 linux,code = <1>; /* KEY_ESC */
95 pinctrl-names = "default";
96 pinctrl-0 = <&user_button_default_mode>;