kirkwood-ns2-common.dtsi 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /include/ "kirkwood.dtsi"
  2. /include/ "kirkwood-6281.dtsi"
  3. / {
  4. chosen {
  5. bootargs = "console=ttyS0,115200n8";
  6. };
  7. ocp@f1000000 {
  8. pinctrl: pinctrl@10000 {
  9. pmx_ns2_sata0: pmx-ns2-sata0 {
  10. marvell,pins = "mpp21";
  11. marvell,function = "sata0";
  12. };
  13. pmx_ns2_sata1: pmx-ns2-sata1 {
  14. marvell,pins = "mpp20";
  15. marvell,function = "sata1";
  16. };
  17. };
  18. serial@12000 {
  19. pinctrl-0 = <&pmx_uart0>;
  20. pinctrl-names = "default";
  21. status = "okay";
  22. };
  23. spi@10600 {
  24. pinctrl-0 = <&pmx_spi>;
  25. pinctrl-names = "default";
  26. status = "okay";
  27. flash@0 {
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. compatible = "mx25l4005a";
  31. reg = <0>;
  32. spi-max-frequency = <20000000>;
  33. mode = <0>;
  34. partition@0 {
  35. reg = <0x0 0x80000>;
  36. label = "u-boot";
  37. };
  38. };
  39. };
  40. i2c@11000 {
  41. pinctrl-0 = <&pmx_twsi0>;
  42. pinctrl-names = "default";
  43. status = "okay";
  44. eeprom@50 {
  45. compatible = "at,24c04";
  46. pagesize = <16>;
  47. reg = <0x50>;
  48. };
  49. };
  50. };
  51. gpio_keys {
  52. compatible = "gpio-keys";
  53. #address-cells = <1>;
  54. #size-cells = <0>;
  55. button@1 {
  56. label = "Power push button";
  57. linux,code = <116>;
  58. gpios = <&gpio1 0 0>;
  59. };
  60. };
  61. gpio-leds {
  62. compatible = "gpio-leds";
  63. red-fail {
  64. label = "ns2:red:fail";
  65. gpios = <&gpio0 12 0>;
  66. };
  67. };
  68. gpio_poweroff {
  69. compatible = "gpio-poweroff";
  70. gpios = <&gpio0 31 0>;
  71. };
  72. };