kirkwood-ts219.dtsi 2.1 KB

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