ste-nomadik-s8815.dts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * Device Tree for the ST-Ericsson Nomadik S8815 board
  3. * Produced by Calao Systems
  4. */
  5. /dts-v1/;
  6. /include/ "ste-nomadik-stn8815.dtsi"
  7. / {
  8. model = "Calao Systems USB-S8815";
  9. compatible = "calaosystems,usb-s8815";
  10. chosen {
  11. bootargs = "root=/dev/ram0 console=ttyAMA1,115200n8 earlyprintk";
  12. };
  13. /* Custom board node with GPIO pins to active etc */
  14. usb-s8815 {
  15. /* The S8815 is using this very GPIO pin for the SMSC91x IRQs */
  16. ethernet-gpio {
  17. gpios = <&gpio3 19 0x1>;
  18. interrupts = <19 0x1>;
  19. interrupt-parent = <&gpio3>;
  20. };
  21. /* This will bias the MMC/SD card detect line */
  22. mmcsd-gpio {
  23. gpios = <&gpio3 16 0x1>;
  24. };
  25. };
  26. /* The user LED on the board is set up to be used for heartbeat */
  27. leds {
  28. compatible = "gpio-leds";
  29. user-led {
  30. label = "user_led";
  31. gpios = <&gpio0 2 0x1>;
  32. default-state = "off";
  33. linux,default-trigger = "heartbeat";
  34. };
  35. };
  36. /* User key mapped in as "escape" */
  37. gpio-keys {
  38. compatible = "gpio-keys";
  39. user-button {
  40. label = "user_button";
  41. gpios = <&gpio0 3 0x1>;
  42. linux,code = <1>; /* KEY_ESC */
  43. gpio-key,wakeup;
  44. };
  45. };
  46. };