aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2018-08-18 12:02:26 -0400
committerMatthias Brugger <matthias.bgg@gmail.com>2018-09-25 11:08:28 -0400
commit8be2c4ae2ff156f21f4bdb7441be6655d1d1e052 (patch)
tree3f0e98aaae1979182ce12bd5cc5b012ae61a55d5
parente1dd05824af9c052b38386f3aff1fdb97b8b7cf0 (diff)
arm64: dts: mt7622: fix ram size for rfb1
Fix ram size to 512 megabytes and sort nodes in alphabetical order. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Acked-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r--arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts196
1 files changed, 98 insertions, 98 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
index a747b7bf132d..dcad0869b84c 100644
--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
@@ -51,7 +51,7 @@
51 }; 51 };
52 52
53 memory { 53 memory {
54 reg = <0 0x40000000 0 0x3F000000>; 54 reg = <0 0x40000000 0 0x20000000>;
55 }; 55 };
56 56
57 reg_1p8v: regulator-1p8v { 57 reg_1p8v: regulator-1p8v {
@@ -81,6 +81,103 @@
81 }; 81 };
82}; 82};
83 83
84&bch {
85 status = "disabled";
86};
87
88&btif {
89 status = "okay";
90};
91
92&cir {
93 pinctrl-names = "default";
94 pinctrl-0 = <&irrx_pins>;
95 status = "okay";
96};
97
98&eth {
99 pinctrl-names = "default";
100 pinctrl-0 = <&eth_pins>;
101 status = "okay";
102
103 gmac1: mac@1 {
104 compatible = "mediatek,eth-mac";
105 reg = <1>;
106 phy-handle = <&phy5>;
107 };
108
109 mdio-bus {
110 #address-cells = <1>;
111 #size-cells = <0>;
112
113 phy5: ethernet-phy@5 {
114 reg = <5>;
115 phy-mode = "sgmii";
116 };
117 };
118};
119
120&i2c1 {
121 pinctrl-names = "default";
122 pinctrl-0 = <&i2c1_pins>;
123 status = "okay";
124};
125
126&i2c2 {
127 pinctrl-names = "default";
128 pinctrl-0 = <&i2c2_pins>;
129 status = "okay";
130};
131
132&mmc0 {
133 pinctrl-names = "default", "state_uhs";
134 pinctrl-0 = <&emmc_pins_default>;
135 pinctrl-1 = <&emmc_pins_uhs>;
136 status = "okay";
137 bus-width = <8>;
138 max-frequency = <50000000>;
139 cap-mmc-highspeed;
140 mmc-hs200-1_8v;
141 vmmc-supply = <&reg_3p3v>;
142 vqmmc-supply = <&reg_1p8v>;
143 assigned-clocks = <&topckgen CLK_TOP_MSDC30_0_SEL>;
144 assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>;
145 non-removable;
146};
147
148&mmc1 {
149 pinctrl-names = "default", "state_uhs";
150 pinctrl-0 = <&sd0_pins_default>;
151 pinctrl-1 = <&sd0_pins_uhs>;
152 status = "okay";
153 bus-width = <4>;
154 max-frequency = <50000000>;
155 cap-sd-highspeed;
156 r_smpl = <1>;
157 cd-gpios = <&pio 81 GPIO_ACTIVE_LOW>;
158 vmmc-supply = <&reg_3p3v>;
159 vqmmc-supply = <&reg_3p3v>;
160 assigned-clocks = <&topckgen CLK_TOP_MSDC30_1_SEL>;
161 assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>;
162};
163
164&nandc {
165 pinctrl-names = "default";
166 pinctrl-0 = <&parallel_nand_pins>;
167 status = "disabled";
168};
169
170&nor_flash {
171 pinctrl-names = "default";
172 pinctrl-0 = <&spi_nor_pins>;
173 status = "disabled";
174
175 flash@0 {
176 compatible = "jedec,spi-nor";
177 reg = <0>;
178 };
179};
180
84&pcie { 181&pcie {
85 pinctrl-names = "default"; 182 pinctrl-names = "default";
86 pinctrl-0 = <&pcie0_pins>; 183 pinctrl-0 = <&pcie0_pins>;
@@ -344,103 +441,6 @@
344 }; 441 };
345}; 442};
346 443
347&bch {
348 status = "disabled";
349};
350
351&btif {
352 status = "okay";
353};
354
355&cir {
356 pinctrl-names = "default";
357 pinctrl-0 = <&irrx_pins>;
358 status = "okay";
359};
360
361&eth {
362 pinctrl-names = "default";
363 pinctrl-0 = <&eth_pins>;
364 status = "okay";
365
366 gmac1: mac@1 {
367 compatible = "mediatek,eth-mac";
368 reg = <1>;
369 phy-handle = <&phy5>;
370 };
371
372 mdio-bus {
373 #address-cells = <1>;
374 #size-cells = <0>;
375
376 phy5: ethernet-phy@5 {
377 reg = <5>;
378 phy-mode = "sgmii";
379 };
380 };
381};
382
383&i2c1 {
384 pinctrl-names = "default";
385 pinctrl-0 = <&i2c1_pins>;
386 status = "okay";
387};
388
389&i2c2 {
390 pinctrl-names = "default";
391 pinctrl-0 = <&i2c2_pins>;
392 status = "okay";
393};
394
395&mmc0 {
396 pinctrl-names = "default", "state_uhs";
397 pinctrl-0 = <&emmc_pins_default>;
398 pinctrl-1 = <&emmc_pins_uhs>;
399 status = "okay";
400 bus-width = <8>;
401 max-frequency = <50000000>;
402 cap-mmc-highspeed;
403 mmc-hs200-1_8v;
404 vmmc-supply = <&reg_3p3v>;
405 vqmmc-supply = <&reg_1p8v>;
406 assigned-clocks = <&topckgen CLK_TOP_MSDC30_0_SEL>;
407 assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>;
408 non-removable;
409};
410
411&mmc1 {
412 pinctrl-names = "default", "state_uhs";
413 pinctrl-0 = <&sd0_pins_default>;
414 pinctrl-1 = <&sd0_pins_uhs>;
415 status = "okay";
416 bus-width = <4>;
417 max-frequency = <50000000>;
418 cap-sd-highspeed;
419 r_smpl = <1>;
420 cd-gpios = <&pio 81 GPIO_ACTIVE_LOW>;
421 vmmc-supply = <&reg_3p3v>;
422 vqmmc-supply = <&reg_3p3v>;
423 assigned-clocks = <&topckgen CLK_TOP_MSDC30_1_SEL>;
424 assigned-clock-parents = <&topckgen CLK_TOP_UNIV48M>;
425};
426
427&nandc {
428 pinctrl-names = "default";
429 pinctrl-0 = <&parallel_nand_pins>;
430 status = "disabled";
431};
432
433&nor_flash {
434 pinctrl-names = "default";
435 pinctrl-0 = <&spi_nor_pins>;
436 status = "disabled";
437
438 flash@0 {
439 compatible = "jedec,spi-nor";
440 reg = <0>;
441 };
442};
443
444&pwm { 444&pwm {
445 pinctrl-names = "default"; 445 pinctrl-names = "default";
446 pinctrl-0 = <&pwm7_pins>; 446 pinctrl-0 = <&pwm7_pins>;