kirkwood-ts219.dtsi 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /include/ "kirkwood.dtsi"
  2. / {
  3. model = "QNAP TS219 family";
  4. compatible = "qnap,ts219", "marvell,kirkwood";
  5. memory {
  6. device_type = "memory";
  7. reg = <0x00000000 0x20000000>;
  8. };
  9. chosen {
  10. bootargs = "console=ttyS0,115200n8";
  11. };
  12. ocp@f1000000 {
  13. i2c@11000 {
  14. status = "okay";
  15. clock-frequency = <400000>;
  16. s35390a: s35390a@30 {
  17. compatible = "s35390a";
  18. reg = <0x30>;
  19. };
  20. };
  21. serial@12000 {
  22. clock-frequency = <200000000>;
  23. status = "okay";
  24. };
  25. serial@12100 {
  26. clock-frequency = <200000000>;
  27. status = "okay";
  28. };
  29. poweroff@12100 {
  30. compatible = "qnap,power-off";
  31. reg = <0x12000 0x100>;
  32. clocks = <&gate_clk 7>;
  33. };
  34. spi@10600 {
  35. status = "okay";
  36. m25p128@0 {
  37. #address-cells = <1>;
  38. #size-cells = <1>;
  39. compatible = "m25p128";
  40. reg = <0>;
  41. spi-max-frequency = <20000000>;
  42. mode = <0>;
  43. partition@0000000 {
  44. reg = <0x00000000 0x00080000>;
  45. label = "U-Boot";
  46. };
  47. partition@00200000 {
  48. reg = <0x00200000 0x00200000>;
  49. label = "Kernel";
  50. };
  51. partition@00400000 {
  52. reg = <0x00400000 0x00900000>;
  53. label = "RootFS1";
  54. };
  55. partition@00d00000 {
  56. reg = <0x00d00000 0x00300000>;
  57. label = "RootFS2";
  58. };
  59. partition@00040000 {
  60. reg = <0x00080000 0x00040000>;
  61. label = "U-Boot Config";
  62. };
  63. partition@000c0000 {
  64. reg = <0x000c0000 0x00140000>;
  65. label = "NAS Config";
  66. };
  67. };
  68. };
  69. sata@80000 {
  70. status = "okay";
  71. nr-ports = <2>;
  72. };
  73. };
  74. };