kirkwood-ns2-common.dtsi 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #include "kirkwood.dtsi"
  2. #include "kirkwood-6281.dtsi"
  3. / {
  4. chosen {
  5. bootargs = "console=ttyS0,115200n8";
  6. stdout-path = &uart0;
  7. };
  8. ocp@f1000000 {
  9. pinctrl: pin-controller@10000 {
  10. pmx_ns2_sata0: pmx-ns2-sata0 {
  11. marvell,pins = "mpp21";
  12. marvell,function = "sata0";
  13. };
  14. pmx_ns2_sata1: pmx-ns2-sata1 {
  15. marvell,pins = "mpp20";
  16. marvell,function = "sata1";
  17. };
  18. };
  19. serial@12000 {
  20. status = "okay";
  21. };
  22. spi@10600 {
  23. status = "okay";
  24. flash@0 {
  25. #address-cells = <1>;
  26. #size-cells = <1>;
  27. compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
  28. reg = <0>;
  29. spi-max-frequency = <20000000>;
  30. mode = <0>;
  31. partition@0 {
  32. reg = <0x0 0x80000>;
  33. label = "u-boot";
  34. };
  35. };
  36. };
  37. i2c@11000 {
  38. status = "okay";
  39. eeprom@50 {
  40. compatible = "atmel,24c04";
  41. pagesize = <16>;
  42. reg = <0x50>;
  43. };
  44. };
  45. };
  46. gpio_keys {
  47. compatible = "gpio-keys";
  48. #address-cells = <1>;
  49. #size-cells = <0>;
  50. power {
  51. label = "Power push button";
  52. linux,code = <KEY_POWER>;
  53. gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
  54. };
  55. };
  56. gpio-leds {
  57. compatible = "gpio-leds";
  58. red-fail {
  59. label = "ns2:red:fail";
  60. gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
  61. };
  62. };
  63. gpio_poweroff {
  64. compatible = "gpio-poweroff";
  65. gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
  66. };
  67. };
  68. &mdio {
  69. status = "okay";
  70. ethphy0: ethernet-phy@X {
  71. /* overwrite reg property in board file */
  72. };
  73. };
  74. &eth0 {
  75. status = "okay";
  76. ethernet0-port@0 {
  77. phy-handle = <&ethphy0>;
  78. };
  79. };