kirkwood-ns2-common.dtsi 904 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /include/ "kirkwood.dtsi"
  2. / {
  3. chosen {
  4. bootargs = "console=ttyS0,115200n8";
  5. };
  6. ocp@f1000000 {
  7. serial@12000 {
  8. clock-frequency = <166666667>;
  9. status = "okay";
  10. };
  11. spi@10600 {
  12. status = "okay";
  13. flash@0 {
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. compatible = "mx25l4005a";
  17. reg = <0>;
  18. spi-max-frequency = <20000000>;
  19. mode = <0>;
  20. partition@0 {
  21. reg = <0x0 0x80000>;
  22. label = "u-boot";
  23. };
  24. };
  25. };
  26. i2c@11000 {
  27. status = "okay";
  28. eeprom@50 {
  29. compatible = "at,24c04";
  30. pagesize = <16>;
  31. reg = <0x50>;
  32. };
  33. };
  34. };
  35. gpio_keys {
  36. compatible = "gpio-keys";
  37. #address-cells = <1>;
  38. #size-cells = <0>;
  39. button@1 {
  40. label = "Power push button";
  41. linux,code = <116>;
  42. gpios = <&gpio1 0 0>;
  43. };
  44. };
  45. gpio-leds {
  46. compatible = "gpio-leds";
  47. red-fail {
  48. label = "ns2:red:fail";
  49. gpios = <&gpio0 12 0>;
  50. };
  51. };
  52. };