kirkwood-ts219.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. / {
  2. model = "QNAP TS219 family";
  3. compatible = "qnap,ts219", "marvell,kirkwood";
  4. memory {
  5. device_type = "memory";
  6. reg = <0x00000000 0x20000000>;
  7. };
  8. chosen {
  9. bootargs = "console=ttyS0,115200n8";
  10. stdout-path = &uart0;
  11. };
  12. mbus {
  13. pcie-controller {
  14. status = "okay";
  15. pcie@1,0 {
  16. status = "okay";
  17. };
  18. };
  19. };
  20. ocp@f1000000 {
  21. i2c@11000 {
  22. status = "okay";
  23. clock-frequency = <400000>;
  24. s35390a: s35390a@30 {
  25. compatible = "s35390a";
  26. reg = <0x30>;
  27. };
  28. };
  29. serial@12000 {
  30. status = "okay";
  31. };
  32. serial@12100 {
  33. status = "okay";
  34. };
  35. poweroff@12100 {
  36. compatible = "qnap,power-off";
  37. reg = <0x12000 0x100>;
  38. clocks = <&gate_clk 7>;
  39. };
  40. spi@10600 {
  41. status = "okay";
  42. m25p128@0 {
  43. #address-cells = <1>;
  44. #size-cells = <1>;
  45. compatible = "m25p128";
  46. reg = <0>;
  47. spi-max-frequency = <20000000>;
  48. mode = <0>;
  49. partition@0000000 {
  50. reg = <0x00000000 0x00080000>;
  51. label = "U-Boot";
  52. };
  53. partition@00200000 {
  54. reg = <0x00200000 0x00200000>;
  55. label = "Kernel";
  56. };
  57. partition@00400000 {
  58. reg = <0x00400000 0x00900000>;
  59. label = "RootFS1";
  60. };
  61. partition@00d00000 {
  62. reg = <0x00d00000 0x00300000>;
  63. label = "RootFS2";
  64. };
  65. partition@00040000 {
  66. reg = <0x00080000 0x00040000>;
  67. label = "U-Boot Config";
  68. };
  69. partition@000c0000 {
  70. reg = <0x000c0000 0x00140000>;
  71. label = "NAS Config";
  72. };
  73. };
  74. };
  75. sata@80000 {
  76. pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
  77. pinctrl-names = "default";
  78. status = "okay";
  79. nr-ports = <2>;
  80. };
  81. };
  82. };
  83. &mdio {
  84. status = "okay";
  85. ethphy0: ethernet-phy {
  86. /* overwrite reg property in board file */
  87. };
  88. };
  89. &eth0 {
  90. status = "okay";
  91. ethernet0-port@0 {
  92. phy-handle = <&ethphy0>;
  93. };
  94. };