kirkwood-ts219.dtsi 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. pinctrl-0 = <&pmx_twsi0>;
  17. pinctrl-names = "default";
  18. s35390a: s35390a@30 {
  19. compatible = "s35390a";
  20. reg = <0x30>;
  21. };
  22. };
  23. serial@12000 {
  24. clock-frequency = <200000000>;
  25. status = "okay";
  26. pinctrl-0 = <&pmx_uart0>;
  27. pinctrl-names = "default";
  28. };
  29. serial@12100 {
  30. clock-frequency = <200000000>;
  31. status = "okay";
  32. pinctrl-0 = <&pmx_uart1>;
  33. pinctrl-names = "default";
  34. };
  35. spi@10600 {
  36. status = "okay";
  37. pinctrl-0 = <&pmx_spi>;
  38. pinctrl-names = "default";
  39. m25p128@0 {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "m25p128";
  43. reg = <0>;
  44. spi-max-frequency = <20000000>;
  45. mode = <0>;
  46. partition@0000000 {
  47. reg = <0x00000000 0x00080000>;
  48. label = "U-Boot";
  49. };
  50. partition@00200000 {
  51. reg = <0x00200000 0x00200000>;
  52. label = "Kernel";
  53. };
  54. partition@00400000 {
  55. reg = <0x00400000 0x00900000>;
  56. label = "RootFS1";
  57. };
  58. partition@00d00000 {
  59. reg = <0x00d00000 0x00300000>;
  60. label = "RootFS2";
  61. };
  62. partition@00040000 {
  63. reg = <0x00080000 0x00040000>;
  64. label = "U-Boot Config";
  65. };
  66. partition@000c0000 {
  67. reg = <0x000c0000 0x00140000>;
  68. label = "NAS Config";
  69. };
  70. };
  71. };
  72. sata@80000 {
  73. pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
  74. pinctrl-names = "default";
  75. status = "okay";
  76. nr-ports = <2>;
  77. };
  78. };
  79. };