diff options
Diffstat (limited to 'arch/mips/boot/dts/ingenic/ci20.dts')
-rw-r--r-- | arch/mips/boot/dts/ingenic/ci20.dts | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts index 9fcb9e7d1f57..1652d8d60b1e 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts | |||
@@ -42,3 +42,67 @@ | |||
42 | &uart4 { | 42 | &uart4 { |
43 | status = "okay"; | 43 | status = "okay"; |
44 | }; | 44 | }; |
45 | |||
46 | &nemc { | ||
47 | status = "okay"; | ||
48 | |||
49 | nandc: nand-controller@1 { | ||
50 | compatible = "ingenic,jz4780-nand"; | ||
51 | reg = <1 0 0x1000000>; | ||
52 | |||
53 | #address-cells = <1>; | ||
54 | #size-cells = <0>; | ||
55 | |||
56 | ingenic,bch-controller = <&bch>; | ||
57 | |||
58 | ingenic,nemc-tAS = <10>; | ||
59 | ingenic,nemc-tAH = <5>; | ||
60 | ingenic,nemc-tBP = <10>; | ||
61 | ingenic,nemc-tAW = <15>; | ||
62 | ingenic,nemc-tSTRV = <100>; | ||
63 | |||
64 | nand@1 { | ||
65 | reg = <1>; | ||
66 | |||
67 | nand-ecc-step-size = <1024>; | ||
68 | nand-ecc-strength = <24>; | ||
69 | nand-ecc-mode = "hw"; | ||
70 | nand-on-flash-bbt; | ||
71 | |||
72 | partitions { | ||
73 | compatible = "fixed-partitions"; | ||
74 | #address-cells = <2>; | ||
75 | #size-cells = <2>; | ||
76 | |||
77 | partition@0 { | ||
78 | label = "u-boot-spl"; | ||
79 | reg = <0x0 0x0 0x0 0x800000>; | ||
80 | }; | ||
81 | |||
82 | partition@0x800000 { | ||
83 | label = "u-boot"; | ||
84 | reg = <0x0 0x800000 0x0 0x200000>; | ||
85 | }; | ||
86 | |||
87 | partition@0xa00000 { | ||
88 | label = "u-boot-env"; | ||
89 | reg = <0x0 0xa00000 0x0 0x200000>; | ||
90 | }; | ||
91 | |||
92 | partition@0xc00000 { | ||
93 | label = "boot"; | ||
94 | reg = <0x0 0xc00000 0x0 0x4000000>; | ||
95 | }; | ||
96 | |||
97 | partition@0x8c00000 { | ||
98 | label = "system"; | ||
99 | reg = <0x0 0x4c00000 0x1 0xfb400000>; | ||
100 | }; | ||
101 | }; | ||
102 | }; | ||
103 | }; | ||
104 | }; | ||
105 | |||
106 | &bch { | ||
107 | status = "okay"; | ||
108 | }; | ||