kirkwood-nsa310-common.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. #include "kirkwood.dtsi"
  2. #include "kirkwood-6281.dtsi"
  3. / {
  4. model = "ZyXEL NSA310";
  5. ocp@f1000000 {
  6. pinctrl: pinctrl@10000 {
  7. pmx_usb_power_off: pmx-usb-power-off {
  8. marvell,pins = "mpp21";
  9. marvell,function = "gpio";
  10. };
  11. pmx_pwr_off: pmx-pwr-off {
  12. marvell,pins = "mpp48";
  13. marvell,function = "gpio";
  14. };
  15. };
  16. serial@12000 {
  17. status = "ok";
  18. };
  19. sata@80000 {
  20. status = "okay";
  21. nr-ports = <2>;
  22. };
  23. pcie-controller {
  24. status = "okay";
  25. pcie@1,0 {
  26. status = "okay";
  27. };
  28. };
  29. };
  30. gpio_poweroff {
  31. compatible = "gpio-poweroff";
  32. pinctrl-0 = <&pmx_pwr_off>;
  33. pinctrl-names = "default";
  34. gpios = <&gpio1 16 0>;
  35. };
  36. regulators {
  37. compatible = "simple-bus";
  38. #address-cells = <1>;
  39. #size-cells = <0>;
  40. pinctrl-0 = <&pmx_usb_power_off>;
  41. pinctrl-names = "default";
  42. usb0_power_off: regulator@1 {
  43. compatible = "regulator-fixed";
  44. reg = <1>;
  45. regulator-name = "USB Power Off";
  46. regulator-min-microvolt = <5000000>;
  47. regulator-max-microvolt = <5000000>;
  48. regulator-always-on;
  49. regulator-boot-on;
  50. gpio = <&gpio0 21 0>;
  51. };
  52. };
  53. };
  54. &nand {
  55. status = "okay";
  56. chip-delay = <35>;
  57. partition@0 {
  58. label = "uboot";
  59. reg = <0x0000000 0x0100000>;
  60. read-only;
  61. };
  62. partition@100000 {
  63. label = "uboot_env";
  64. reg = <0x0100000 0x0080000>;
  65. };
  66. partition@180000 {
  67. label = "key_store";
  68. reg = <0x0180000 0x0080000>;
  69. };
  70. partition@200000 {
  71. label = "info";
  72. reg = <0x0200000 0x0080000>;
  73. };
  74. partition@280000 {
  75. label = "etc";
  76. reg = <0x0280000 0x0a00000>;
  77. };
  78. partition@c80000 {
  79. label = "kernel_1";
  80. reg = <0x0c80000 0x0a00000>;
  81. };
  82. partition@1680000 {
  83. label = "rootfs1";
  84. reg = <0x1680000 0x2fc0000>;
  85. };
  86. partition@4640000 {
  87. label = "kernel_2";
  88. reg = <0x4640000 0x0a00000>;
  89. };
  90. partition@5040000 {
  91. label = "rootfs2";
  92. reg = <0x5040000 0x2fc0000>;
  93. };
  94. };