usb_a9g20.dts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board
  3. *
  4. * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5. *
  6. * Licensed under GPLv2 or later.
  7. */
  8. /dts-v1/;
  9. /include/ "at91sam9g20.dtsi"
  10. / {
  11. model = "Calao USB A9G20";
  12. compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9";
  13. chosen {
  14. bootargs = "mem=64M console=ttyS0,115200 mtdparts=atmel_nand:128k(at91bootstrap),256k(barebox)ro,128k(bareboxenv),128k(bareboxenv2),4M(kernel),120M(rootfs),-(data) root=/dev/mtdblock5 rw rootfstype=ubifs";
  15. };
  16. memory@20000000 {
  17. reg = <0x20000000 0x4000000>;
  18. };
  19. ahb {
  20. apb {
  21. dbgu: serial@fffff200 {
  22. status = "okay";
  23. };
  24. macb0: ethernet@fffc4000 {
  25. phy-mode = "rmii";
  26. status = "okay";
  27. };
  28. };
  29. };
  30. leds {
  31. compatible = "gpio-leds";
  32. user_led {
  33. label = "user_led";
  34. gpios = <&pioB 21 1>;
  35. linux,default-trigger = "heartbeat";
  36. };
  37. };
  38. gpio_keys {
  39. compatible = "gpio-keys";
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. user_pb {
  43. label = "user_pb";
  44. gpios = <&pioB 10 1>;
  45. linux,code = <28>;
  46. gpio-key,wakeup;
  47. };
  48. };
  49. };