169445.dts 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /dts-v1/;
  2. / {
  3. #address-cells = <1>;
  4. #size-cells = <1>;
  5. compatible = "ni,169445";
  6. cpus {
  7. #address-cells = <1>;
  8. #size-cells = <0>;
  9. cpu@0 {
  10. device_type = "cpu";
  11. compatible = "mti,mips14KEc";
  12. clocks = <&baseclk>;
  13. reg = <0>;
  14. };
  15. };
  16. memory@0 {
  17. device_type = "memory";
  18. reg = <0x0 0x10000000>;
  19. };
  20. baseclk: baseclock {
  21. compatible = "fixed-clock";
  22. #clock-cells = <0>;
  23. clock-frequency = <50000000>;
  24. };
  25. cpu_intc: interrupt-controller {
  26. #address-cells = <0>;
  27. compatible = "mti,cpu-interrupt-controller";
  28. interrupt-controller;
  29. #interrupt-cells = <1>;
  30. };
  31. ahb@1f300000 {
  32. compatible = "simple-bus";
  33. #address-cells = <1>;
  34. #size-cells = <1>;
  35. ranges = <0x0 0x1f300000 0x80FFF>;
  36. gpio1: gpio@10 {
  37. compatible = "ni,169445-nand-gpio";
  38. reg = <0x10 0x4>;
  39. reg-names = "dat";
  40. gpio-controller;
  41. #gpio-cells = <2>;
  42. };
  43. gpio2: gpio@14 {
  44. compatible = "ni,169445-nand-gpio";
  45. reg = <0x14 0x4>;
  46. reg-names = "dat";
  47. gpio-controller;
  48. #gpio-cells = <2>;
  49. no-output;
  50. };
  51. nand@0 {
  52. compatible = "gpio-control-nand";
  53. nand-on-flash-bbt;
  54. nand-ecc-mode = "soft_bch";
  55. nand-ecc-step-size = <512>;
  56. nand-ecc-strength = <4>;
  57. reg = <0x0 4>;
  58. gpios = <&gpio2 0 0>, /* rdy */
  59. <&gpio1 1 0>, /* nce */
  60. <&gpio1 2 0>, /* ale */
  61. <&gpio1 3 0>, /* cle */
  62. <&gpio1 4 0>; /* nwp */
  63. };
  64. serial@80000 {
  65. compatible = "ns16550a";
  66. reg = <0x80000 0x1000>;
  67. interrupt-parent = <&cpu_intc>;
  68. interrupts = <6>;
  69. clocks = <&baseclk>;
  70. reg-shift = <0>;
  71. };
  72. ethernet@40000 {
  73. compatible = "snps,dwmac-4.10a";
  74. interrupt-parent = <&cpu_intc>;
  75. interrupts = <5>;
  76. interrupt-names = "macirq";
  77. reg = <0x40000 0x2000>;
  78. clock-names = "stmmaceth", "pclk";
  79. clocks = <&baseclk>, <&baseclk>;
  80. phy-mode = "rgmii";
  81. fixed-link {
  82. speed = <1000>;
  83. full-duplex;
  84. };
  85. };
  86. };
  87. };