2013-01-05 07:29:31 +08:00
|
|
|
/*
|
|
|
|
* Device Tree for the ST-Ericsson Nomadik S8815 board
|
|
|
|
* Produced by Calao Systems
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
/include/ "ste-nomadik-stn8815.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Calao Systems USB-S8815";
|
|
|
|
compatible = "calaosystems,usb-s8815";
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Custom board node with GPIO pins to active etc */
|
|
|
|
usb-s8815 {
|
2013-01-06 08:02:42 +08:00
|
|
|
/* The S8815 is using this very GPIO pin for the SMSC91x IRQs */
|
|
|
|
ethernet-gpio {
|
|
|
|
gpios = <&gpio3 19 0x1>;
|
|
|
|
interrupts = <19 0x1>;
|
|
|
|
interrupt-parent = <&gpio3>;
|
|
|
|
};
|
2013-01-06 08:47:29 +08:00
|
|
|
/* This will bias the MMC/SD card detect line */
|
|
|
|
mmcsd-gpio {
|
|
|
|
gpios = <&gpio3 16 0x1>;
|
|
|
|
};
|
2013-01-05 07:29:31 +08:00
|
|
|
};
|
2013-05-19 05:55:13 +08:00
|
|
|
|
|
|
|
/* The user LED on the board is set up to be used for heartbeat */
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
user-led {
|
|
|
|
label = "user_led";
|
|
|
|
gpios = <&gpio0 2 0x1>;
|
|
|
|
default-state = "off";
|
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/* User key mapped in as "escape" */
|
|
|
|
gpio-keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
user-button {
|
|
|
|
label = "user_button";
|
|
|
|
gpios = <&gpio0 3 0x1>;
|
|
|
|
linux,code = <1>; /* KEY_ESC */
|
|
|
|
gpio-key,wakeup;
|
|
|
|
};
|
|
|
|
};
|
2013-01-05 07:29:31 +08:00
|
|
|
};
|