hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm/boot/dts/imx6sl.dtsi
....@@ -23,6 +23,13 @@
2323 gpio2 = &gpio3;
2424 gpio3 = &gpio4;
2525 gpio4 = &gpio5;
26
+ i2c0 = &i2c1;
27
+ i2c1 = &i2c2;
28
+ i2c2 = &i2c3;
29
+ mmc0 = &usdhc1;
30
+ mmc1 = &usdhc2;
31
+ mmc2 = &usdhc3;
32
+ mmc3 = &usdhc4;
2633 serial0 = &uart1;
2734 serial1 = &uart2;
2835 serial2 = &uart3;
....@@ -32,6 +39,9 @@
3239 spi1 = &ecspi2;
3340 spi2 = &ecspi3;
3441 spi3 = &ecspi4;
42
+ usb0 = &usbotg1;
43
+ usb1 = &usbotg2;
44
+ usb2 = &usbh;
3545 usbphy0 = &usbphy1;
3646 usbphy1 = &usbphy2;
3747 };
....@@ -67,16 +77,9 @@
6777 arm-supply = <&reg_arm>;
6878 pu-supply = <&reg_pu>;
6979 soc-supply = <&reg_soc>;
80
+ nvmem-cells = <&cpu_speed_grade>;
81
+ nvmem-cell-names = "speed_grade";
7082 };
71
- };
72
-
73
- intc: interrupt-controller@a01000 {
74
- compatible = "arm,cortex-a9-gic";
75
- #interrupt-cells = <3>;
76
- interrupt-controller;
77
- reg = <0x00a01000 0x1000>,
78
- <0x00a00100 0x100>;
79
- interrupt-parent = <&intc>;
8083 };
8184
8285 clocks {
....@@ -93,19 +96,15 @@
9396 };
9497 };
9598
96
- tempmon: tempmon {
97
- compatible = "fsl,imx6q-tempmon";
98
- interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
99
- interrupt-parent = <&gpc>;
100
- fsl,tempmon = <&anatop>;
101
- fsl,tempmon-data = <&ocotp>;
102
- clocks = <&clks IMX6SL_CLK_PLL3_USB_OTG>;
103
- };
104
-
10599 pmu {
106100 compatible = "arm,cortex-a9-pmu";
107101 interrupt-parent = <&gpc>;
108102 interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
103
+ };
104
+
105
+ usbphynop1: usbphynop1 {
106
+ compatible = "usb-nop-xceiv";
107
+ #phy-cells = <0>;
109108 };
110109
111110 soc {
....@@ -118,10 +117,22 @@
118117 ocram: sram@900000 {
119118 compatible = "mmio-sram";
120119 reg = <0x00900000 0x20000>;
120
+ ranges = <0 0x00900000 0x20000>;
121
+ #address-cells = <1>;
122
+ #size-cells = <1>;
121123 clocks = <&clks IMX6SL_CLK_OCRAM>;
122124 };
123125
124
- L2: l2-cache@a02000 {
126
+ intc: interrupt-controller@a01000 {
127
+ compatible = "arm,cortex-a9-gic";
128
+ #interrupt-cells = <3>;
129
+ interrupt-controller;
130
+ reg = <0x00a01000 0x1000>,
131
+ <0x00a00100 0x100>;
132
+ interrupt-parent = <&intc>;
133
+ };
134
+
135
+ L2: cache-controller@a02000 {
125136 compatible = "arm,pl310-cache";
126137 reg = <0x00a02000 0x1000>;
127138 interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
....@@ -131,7 +142,7 @@
131142 arm,data-latency = <4 2 3>;
132143 };
133144
134
- aips1: aips-bus@2000000 {
145
+ aips1: bus@2000000 {
135146 compatible = "fsl,aips-bus", "simple-bus";
136147 #address-cells = <1>;
137148 #size-cells = <1>;
....@@ -166,7 +177,7 @@
166177 status = "disabled";
167178 };
168179
169
- ecspi1: ecspi@2008000 {
180
+ ecspi1: spi@2008000 {
170181 #address-cells = <1>;
171182 #size-cells = <0>;
172183 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
....@@ -178,7 +189,7 @@
178189 status = "disabled";
179190 };
180191
181
- ecspi2: ecspi@200c000 {
192
+ ecspi2: spi@200c000 {
182193 #address-cells = <1>;
183194 #size-cells = <0>;
184195 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
....@@ -190,7 +201,7 @@
190201 status = "disabled";
191202 };
192203
193
- ecspi3: ecspi@2010000 {
204
+ ecspi3: spi@2010000 {
194205 #address-cells = <1>;
195206 #size-cells = <0>;
196207 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
....@@ -202,7 +213,7 @@
202213 status = "disabled";
203214 };
204215
205
- ecspi4: ecspi@2014000 {
216
+ ecspi4: spi@2014000 {
206217 #address-cells = <1>;
207218 #size-cells = <0>;
208219 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
....@@ -329,46 +340,46 @@
329340 };
330341
331342 pwm1: pwm@2080000 {
332
- #pwm-cells = <2>;
343
+ #pwm-cells = <3>;
333344 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
334345 reg = <0x02080000 0x4000>;
335346 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
336
- clocks = <&clks IMX6SL_CLK_PWM1>,
347
+ clocks = <&clks IMX6SL_CLK_PERCLK>,
337348 <&clks IMX6SL_CLK_PWM1>;
338349 clock-names = "ipg", "per";
339350 };
340351
341352 pwm2: pwm@2084000 {
342
- #pwm-cells = <2>;
353
+ #pwm-cells = <3>;
343354 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
344355 reg = <0x02084000 0x4000>;
345356 interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
346
- clocks = <&clks IMX6SL_CLK_PWM2>,
357
+ clocks = <&clks IMX6SL_CLK_PERCLK>,
347358 <&clks IMX6SL_CLK_PWM2>;
348359 clock-names = "ipg", "per";
349360 };
350361
351362 pwm3: pwm@2088000 {
352
- #pwm-cells = <2>;
363
+ #pwm-cells = <3>;
353364 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
354365 reg = <0x02088000 0x4000>;
355366 interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
356
- clocks = <&clks IMX6SL_CLK_PWM3>,
367
+ clocks = <&clks IMX6SL_CLK_PERCLK>,
357368 <&clks IMX6SL_CLK_PWM3>;
358369 clock-names = "ipg", "per";
359370 };
360371
361372 pwm4: pwm@208c000 {
362
- #pwm-cells = <2>;
373
+ #pwm-cells = <3>;
363374 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
364375 reg = <0x0208c000 0x4000>;
365376 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
366
- clocks = <&clks IMX6SL_CLK_PWM4>,
377
+ clocks = <&clks IMX6SL_CLK_PERCLK>,
367378 <&clks IMX6SL_CLK_PWM4>;
368379 clock-names = "ipg", "per";
369380 };
370381
371
- gpt: gpt@2098000 {
382
+ gpt: timer@2098000 {
372383 compatible = "fsl,imx6sl-gpt";
373384 reg = <0x02098000 0x4000>;
374385 interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
....@@ -479,30 +490,30 @@
479490 <&iomuxc 21 161 1>;
480491 };
481492
482
- kpp: kpp@20b8000 {
493
+ kpp: keypad@20b8000 {
483494 compatible = "fsl,imx6sl-kpp", "fsl,imx21-kpp";
484495 reg = <0x020b8000 0x4000>;
485496 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
486
- clocks = <&clks IMX6SL_CLK_DUMMY>;
497
+ clocks = <&clks IMX6SL_CLK_IPG>;
487498 status = "disabled";
488499 };
489500
490
- wdog1: wdog@20bc000 {
501
+ wdog1: watchdog@20bc000 {
491502 compatible = "fsl,imx6sl-wdt", "fsl,imx21-wdt";
492503 reg = <0x020bc000 0x4000>;
493504 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
494
- clocks = <&clks IMX6SL_CLK_DUMMY>;
505
+ clocks = <&clks IMX6SL_CLK_IPG>;
495506 };
496507
497
- wdog2: wdog@20c0000 {
508
+ wdog2: watchdog@20c0000 {
498509 compatible = "fsl,imx6sl-wdt", "fsl,imx21-wdt";
499510 reg = <0x020c0000 0x4000>;
500511 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
501
- clocks = <&clks IMX6SL_CLK_DUMMY>;
512
+ clocks = <&clks IMX6SL_CLK_IPG>;
502513 status = "disabled";
503514 };
504515
505
- clks: ccm@20c4000 {
516
+ clks: clock-controller@20c4000 {
506517 compatible = "fsl,imx6sl-ccm";
507518 reg = <0x020c4000 0x4000>;
508519 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
....@@ -513,13 +524,13 @@
513524 anatop: anatop@20c8000 {
514525 compatible = "fsl,imx6sl-anatop",
515526 "fsl,imx6q-anatop",
516
- "syscon", "simple-bus";
527
+ "syscon", "simple-mfd";
517528 reg = <0x020c8000 0x1000>;
518529 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
519530 <0 54 IRQ_TYPE_LEVEL_HIGH>,
520531 <0 127 IRQ_TYPE_LEVEL_HIGH>;
521532
522
- regulator-1p1 {
533
+ reg_vdd1p1: regulator-1p1 {
523534 compatible = "fsl,anatop-regulator";
524535 regulator-name = "vdd1p1";
525536 regulator-min-microvolt = <1000000>;
....@@ -534,7 +545,7 @@
534545 anatop-enable-bit = <0>;
535546 };
536547
537
- regulator-3p0 {
548
+ reg_vdd3p0: regulator-3p0 {
538549 compatible = "fsl,anatop-regulator";
539550 regulator-name = "vdd3p0";
540551 regulator-min-microvolt = <2800000>;
....@@ -549,7 +560,7 @@
549560 anatop-enable-bit = <0>;
550561 };
551562
552
- regulator-2p5 {
563
+ reg_vdd2p5: regulator-2p5 {
553564 compatible = "fsl,anatop-regulator";
554565 regulator-name = "vdd2p5";
555566 regulator-min-microvolt = <2250000>;
....@@ -586,7 +597,6 @@
586597 regulator-name = "vddpu";
587598 regulator-min-microvolt = <725000>;
588599 regulator-max-microvolt = <1450000>;
589
- regulator-always-on;
590600 anatop-reg-offset = <0x140>;
591601 anatop-vol-bit-shift = <9>;
592602 anatop-vol-bit-width = <5>;
....@@ -613,6 +623,16 @@
613623 anatop-min-bit-val = <1>;
614624 anatop-min-voltage = <725000>;
615625 anatop-max-voltage = <1450000>;
626
+ };
627
+
628
+ tempmon: tempmon {
629
+ compatible = "fsl,imx6q-tempmon";
630
+ interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
631
+ interrupt-parent = <&gpc>;
632
+ fsl,tempmon = <&anatop>;
633
+ nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
634
+ nvmem-cell-names = "calib", "temp_grade";
635
+ clocks = <&clks IMX6SL_CLK_PLL3_USB_OTG>;
616636 };
617637 };
618638
....@@ -664,7 +684,7 @@
664684 interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
665685 };
666686
667
- src: src@20d8000 {
687
+ src: reset-controller@20d8000 {
668688 compatible = "fsl,imx6sl-src", "fsl,imx51-src";
669689 reg = <0x020d8000 0x4000>;
670690 interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
....@@ -717,7 +737,7 @@
717737 reg = <0x020e0000 0x38>;
718738 };
719739
720
- iomuxc: iomuxc@20e0000 {
740
+ iomuxc: pinctrl@20e0000 {
721741 compatible = "fsl,imx6sl-iomuxc";
722742 reg = <0x020e0000 0x4000>;
723743 };
....@@ -732,7 +752,7 @@
732752 interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
733753 };
734754
735
- sdma: sdma@20ec000 {
755
+ sdma: dma-controller@20ec000 {
736756 compatible = "fsl,imx6sl-sdma", "fsl,imx6q-sdma";
737757 reg = <0x020ec000 0x4000>;
738758 interrupts = <0 2 IRQ_TYPE_LEVEL_HIGH>;
....@@ -766,7 +786,7 @@
766786 power-domains = <&pd_disp>;
767787 };
768788
769
- dcp: dcp@20fc000 {
789
+ dcp: crypto@20fc000 {
770790 compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp";
771791 reg = <0x020fc000 0x4000>;
772792 interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>,
....@@ -775,7 +795,7 @@
775795 };
776796 };
777797
778
- aips2: aips-bus@2100000 {
798
+ aips2: bus@2100000 {
779799 compatible = "fsl,aips-bus", "simple-bus";
780800 #address-cells = <1>;
781801 #size-cells = <1>;
....@@ -813,6 +833,8 @@
813833 reg = <0x02184400 0x200>;
814834 interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
815835 clocks = <&clks IMX6SL_CLK_USBOH3>;
836
+ fsl,usbphy = <&usbphynop1>;
837
+ phy_type = "hsic";
816838 fsl,usbmisc = <&usbmisc 2>;
817839 dr_mode = "host";
818840 ahb-burst-config = <0x0>;
....@@ -838,7 +860,7 @@
838860 status = "disabled";
839861 };
840862
841
- usdhc1: usdhc@2190000 {
863
+ usdhc1: mmc@2190000 {
842864 compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc";
843865 reg = <0x02190000 0x4000>;
844866 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
....@@ -850,7 +872,7 @@
850872 status = "disabled";
851873 };
852874
853
- usdhc2: usdhc@2194000 {
875
+ usdhc2: mmc@2194000 {
854876 compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc";
855877 reg = <0x02194000 0x4000>;
856878 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
....@@ -862,7 +884,7 @@
862884 status = "disabled";
863885 };
864886
865
- usdhc3: usdhc@2198000 {
887
+ usdhc3: mmc@2198000 {
866888 compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc";
867889 reg = <0x02198000 0x4000>;
868890 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
....@@ -874,7 +896,7 @@
874896 status = "disabled";
875897 };
876898
877
- usdhc4: usdhc@219c000 {
899
+ usdhc4: mmc@219c000 {
878900 compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc";
879901 reg = <0x0219c000 0x4000>;
880902 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
....@@ -916,9 +938,10 @@
916938 status = "disabled";
917939 };
918940
919
- mmdc: mmdc@21b0000 {
941
+ memory-controller@21b0000 {
920942 compatible = "fsl,imx6sl-mmdc", "fsl,imx6q-mmdc";
921943 reg = <0x021b0000 0x4000>;
944
+ clocks = <&clks IMX6SL_CLK_MMDC_P0_IPG>;
922945 };
923946
924947 rngb: rngb@21b4000 {
....@@ -937,10 +960,24 @@
937960 status = "disabled";
938961 };
939962
940
- ocotp: ocotp@21bc000 {
963
+ ocotp: efuse@21bc000 {
941964 compatible = "fsl,imx6sl-ocotp", "syscon";
942965 reg = <0x021bc000 0x4000>;
943966 clocks = <&clks IMX6SL_CLK_OCOTP>;
967
+ #address-cells = <1>;
968
+ #size-cells = <1>;
969
+
970
+ cpu_speed_grade: speed-grade@10 {
971
+ reg = <0x10 4>;
972
+ };
973
+
974
+ tempmon_calib: calib@38 {
975
+ reg = <0x38 4>;
976
+ };
977
+
978
+ tempmon_temp_grade: temp-grade@20 {
979
+ reg = <0x20 4>;
980
+ };
944981 };
945982
946983 audmux: audmux@21d8000 {