hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
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;
....@@ -67,16 +74,9 @@
6774 arm-supply = <&reg_arm>;
6875 pu-supply = <&reg_pu>;
6976 soc-supply = <&reg_soc>;
77
+ nvmem-cells = <&cpu_speed_grade>;
78
+ nvmem-cell-names = "speed_grade";
7079 };
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>;
8080 };
8181
8282 clocks {
....@@ -93,19 +93,15 @@
9393 };
9494 };
9595
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
-
10596 pmu {
10697 compatible = "arm,cortex-a9-pmu";
10798 interrupt-parent = <&gpc>;
10899 interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>;
100
+ };
101
+
102
+ usbphynop1: usbphynop1 {
103
+ compatible = "usb-nop-xceiv";
104
+ #phy-cells = <0>;
109105 };
110106
111107 soc {
....@@ -118,10 +114,22 @@
118114 ocram: sram@900000 {
119115 compatible = "mmio-sram";
120116 reg = <0x00900000 0x20000>;
117
+ ranges = <0 0x00900000 0x20000>;
118
+ #address-cells = <1>;
119
+ #size-cells = <1>;
121120 clocks = <&clks IMX6SL_CLK_OCRAM>;
122121 };
123122
124
- L2: l2-cache@a02000 {
123
+ intc: interrupt-controller@a01000 {
124
+ compatible = "arm,cortex-a9-gic";
125
+ #interrupt-cells = <3>;
126
+ interrupt-controller;
127
+ reg = <0x00a01000 0x1000>,
128
+ <0x00a00100 0x100>;
129
+ interrupt-parent = <&intc>;
130
+ };
131
+
132
+ L2: cache-controller@a02000 {
125133 compatible = "arm,pl310-cache";
126134 reg = <0x00a02000 0x1000>;
127135 interrupts = <0 92 IRQ_TYPE_LEVEL_HIGH>;
....@@ -131,7 +139,7 @@
131139 arm,data-latency = <4 2 3>;
132140 };
133141
134
- aips1: aips-bus@2000000 {
142
+ aips1: bus@2000000 {
135143 compatible = "fsl,aips-bus", "simple-bus";
136144 #address-cells = <1>;
137145 #size-cells = <1>;
....@@ -166,7 +174,7 @@
166174 status = "disabled";
167175 };
168176
169
- ecspi1: ecspi@2008000 {
177
+ ecspi1: spi@2008000 {
170178 #address-cells = <1>;
171179 #size-cells = <0>;
172180 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
....@@ -178,7 +186,7 @@
178186 status = "disabled";
179187 };
180188
181
- ecspi2: ecspi@200c000 {
189
+ ecspi2: spi@200c000 {
182190 #address-cells = <1>;
183191 #size-cells = <0>;
184192 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
....@@ -190,7 +198,7 @@
190198 status = "disabled";
191199 };
192200
193
- ecspi3: ecspi@2010000 {
201
+ ecspi3: spi@2010000 {
194202 #address-cells = <1>;
195203 #size-cells = <0>;
196204 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
....@@ -202,7 +210,7 @@
202210 status = "disabled";
203211 };
204212
205
- ecspi4: ecspi@2014000 {
213
+ ecspi4: spi@2014000 {
206214 #address-cells = <1>;
207215 #size-cells = <0>;
208216 compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi";
....@@ -329,46 +337,46 @@
329337 };
330338
331339 pwm1: pwm@2080000 {
332
- #pwm-cells = <2>;
340
+ #pwm-cells = <3>;
333341 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
334342 reg = <0x02080000 0x4000>;
335343 interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>;
336
- clocks = <&clks IMX6SL_CLK_PWM1>,
344
+ clocks = <&clks IMX6SL_CLK_PERCLK>,
337345 <&clks IMX6SL_CLK_PWM1>;
338346 clock-names = "ipg", "per";
339347 };
340348
341349 pwm2: pwm@2084000 {
342
- #pwm-cells = <2>;
350
+ #pwm-cells = <3>;
343351 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
344352 reg = <0x02084000 0x4000>;
345353 interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
346
- clocks = <&clks IMX6SL_CLK_PWM2>,
354
+ clocks = <&clks IMX6SL_CLK_PERCLK>,
347355 <&clks IMX6SL_CLK_PWM2>;
348356 clock-names = "ipg", "per";
349357 };
350358
351359 pwm3: pwm@2088000 {
352
- #pwm-cells = <2>;
360
+ #pwm-cells = <3>;
353361 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
354362 reg = <0x02088000 0x4000>;
355363 interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
356
- clocks = <&clks IMX6SL_CLK_PWM3>,
364
+ clocks = <&clks IMX6SL_CLK_PERCLK>,
357365 <&clks IMX6SL_CLK_PWM3>;
358366 clock-names = "ipg", "per";
359367 };
360368
361369 pwm4: pwm@208c000 {
362
- #pwm-cells = <2>;
370
+ #pwm-cells = <3>;
363371 compatible = "fsl,imx6sl-pwm", "fsl,imx27-pwm";
364372 reg = <0x0208c000 0x4000>;
365373 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
366
- clocks = <&clks IMX6SL_CLK_PWM4>,
374
+ clocks = <&clks IMX6SL_CLK_PERCLK>,
367375 <&clks IMX6SL_CLK_PWM4>;
368376 clock-names = "ipg", "per";
369377 };
370378
371
- gpt: gpt@2098000 {
379
+ gpt: timer@2098000 {
372380 compatible = "fsl,imx6sl-gpt";
373381 reg = <0x02098000 0x4000>;
374382 interrupts = <0 55 IRQ_TYPE_LEVEL_HIGH>;
....@@ -479,30 +487,30 @@
479487 <&iomuxc 21 161 1>;
480488 };
481489
482
- kpp: kpp@20b8000 {
490
+ kpp: keypad@20b8000 {
483491 compatible = "fsl,imx6sl-kpp", "fsl,imx21-kpp";
484492 reg = <0x020b8000 0x4000>;
485493 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
486
- clocks = <&clks IMX6SL_CLK_DUMMY>;
494
+ clocks = <&clks IMX6SL_CLK_IPG>;
487495 status = "disabled";
488496 };
489497
490
- wdog1: wdog@20bc000 {
498
+ wdog1: watchdog@20bc000 {
491499 compatible = "fsl,imx6sl-wdt", "fsl,imx21-wdt";
492500 reg = <0x020bc000 0x4000>;
493501 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
494
- clocks = <&clks IMX6SL_CLK_DUMMY>;
502
+ clocks = <&clks IMX6SL_CLK_IPG>;
495503 };
496504
497
- wdog2: wdog@20c0000 {
505
+ wdog2: watchdog@20c0000 {
498506 compatible = "fsl,imx6sl-wdt", "fsl,imx21-wdt";
499507 reg = <0x020c0000 0x4000>;
500508 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
501
- clocks = <&clks IMX6SL_CLK_DUMMY>;
509
+ clocks = <&clks IMX6SL_CLK_IPG>;
502510 status = "disabled";
503511 };
504512
505
- clks: ccm@20c4000 {
513
+ clks: clock-controller@20c4000 {
506514 compatible = "fsl,imx6sl-ccm";
507515 reg = <0x020c4000 0x4000>;
508516 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
....@@ -513,13 +521,13 @@
513521 anatop: anatop@20c8000 {
514522 compatible = "fsl,imx6sl-anatop",
515523 "fsl,imx6q-anatop",
516
- "syscon", "simple-bus";
524
+ "syscon", "simple-mfd";
517525 reg = <0x020c8000 0x1000>;
518526 interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>,
519527 <0 54 IRQ_TYPE_LEVEL_HIGH>,
520528 <0 127 IRQ_TYPE_LEVEL_HIGH>;
521529
522
- regulator-1p1 {
530
+ reg_vdd1p1: regulator-1p1 {
523531 compatible = "fsl,anatop-regulator";
524532 regulator-name = "vdd1p1";
525533 regulator-min-microvolt = <1000000>;
....@@ -534,7 +542,7 @@
534542 anatop-enable-bit = <0>;
535543 };
536544
537
- regulator-3p0 {
545
+ reg_vdd3p0: regulator-3p0 {
538546 compatible = "fsl,anatop-regulator";
539547 regulator-name = "vdd3p0";
540548 regulator-min-microvolt = <2800000>;
....@@ -549,7 +557,7 @@
549557 anatop-enable-bit = <0>;
550558 };
551559
552
- regulator-2p5 {
560
+ reg_vdd2p5: regulator-2p5 {
553561 compatible = "fsl,anatop-regulator";
554562 regulator-name = "vdd2p5";
555563 regulator-min-microvolt = <2250000>;
....@@ -586,7 +594,6 @@
586594 regulator-name = "vddpu";
587595 regulator-min-microvolt = <725000>;
588596 regulator-max-microvolt = <1450000>;
589
- regulator-always-on;
590597 anatop-reg-offset = <0x140>;
591598 anatop-vol-bit-shift = <9>;
592599 anatop-vol-bit-width = <5>;
....@@ -613,6 +620,16 @@
613620 anatop-min-bit-val = <1>;
614621 anatop-min-voltage = <725000>;
615622 anatop-max-voltage = <1450000>;
623
+ };
624
+
625
+ tempmon: tempmon {
626
+ compatible = "fsl,imx6q-tempmon";
627
+ interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
628
+ interrupt-parent = <&gpc>;
629
+ fsl,tempmon = <&anatop>;
630
+ nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
631
+ nvmem-cell-names = "calib", "temp_grade";
632
+ clocks = <&clks IMX6SL_CLK_PLL3_USB_OTG>;
616633 };
617634 };
618635
....@@ -664,7 +681,7 @@
664681 interrupts = <0 57 IRQ_TYPE_LEVEL_HIGH>;
665682 };
666683
667
- src: src@20d8000 {
684
+ src: reset-controller@20d8000 {
668685 compatible = "fsl,imx6sl-src", "fsl,imx51-src";
669686 reg = <0x020d8000 0x4000>;
670687 interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>,
....@@ -717,7 +734,7 @@
717734 reg = <0x020e0000 0x38>;
718735 };
719736
720
- iomuxc: iomuxc@20e0000 {
737
+ iomuxc: pinctrl@20e0000 {
721738 compatible = "fsl,imx6sl-iomuxc";
722739 reg = <0x020e0000 0x4000>;
723740 };
....@@ -766,7 +783,7 @@
766783 power-domains = <&pd_disp>;
767784 };
768785
769
- dcp: dcp@20fc000 {
786
+ dcp: crypto@20fc000 {
770787 compatible = "fsl,imx6sl-dcp", "fsl,imx28-dcp";
771788 reg = <0x020fc000 0x4000>;
772789 interrupts = <0 99 IRQ_TYPE_LEVEL_HIGH>,
....@@ -775,7 +792,7 @@
775792 };
776793 };
777794
778
- aips2: aips-bus@2100000 {
795
+ aips2: bus@2100000 {
779796 compatible = "fsl,aips-bus", "simple-bus";
780797 #address-cells = <1>;
781798 #size-cells = <1>;
....@@ -813,6 +830,8 @@
813830 reg = <0x02184400 0x200>;
814831 interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>;
815832 clocks = <&clks IMX6SL_CLK_USBOH3>;
833
+ fsl,usbphy = <&usbphynop1>;
834
+ phy_type = "hsic";
816835 fsl,usbmisc = <&usbmisc 2>;
817836 dr_mode = "host";
818837 ahb-burst-config = <0x0>;
....@@ -838,7 +857,7 @@
838857 status = "disabled";
839858 };
840859
841
- usdhc1: usdhc@2190000 {
860
+ usdhc1: mmc@2190000 {
842861 compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc";
843862 reg = <0x02190000 0x4000>;
844863 interrupts = <0 22 IRQ_TYPE_LEVEL_HIGH>;
....@@ -850,7 +869,7 @@
850869 status = "disabled";
851870 };
852871
853
- usdhc2: usdhc@2194000 {
872
+ usdhc2: mmc@2194000 {
854873 compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc";
855874 reg = <0x02194000 0x4000>;
856875 interrupts = <0 23 IRQ_TYPE_LEVEL_HIGH>;
....@@ -862,7 +881,7 @@
862881 status = "disabled";
863882 };
864883
865
- usdhc3: usdhc@2198000 {
884
+ usdhc3: mmc@2198000 {
866885 compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc";
867886 reg = <0x02198000 0x4000>;
868887 interrupts = <0 24 IRQ_TYPE_LEVEL_HIGH>;
....@@ -874,7 +893,7 @@
874893 status = "disabled";
875894 };
876895
877
- usdhc4: usdhc@219c000 {
896
+ usdhc4: mmc@219c000 {
878897 compatible = "fsl,imx6sl-usdhc", "fsl,imx6q-usdhc";
879898 reg = <0x0219c000 0x4000>;
880899 interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>;
....@@ -916,9 +935,10 @@
916935 status = "disabled";
917936 };
918937
919
- mmdc: mmdc@21b0000 {
938
+ memory-controller@21b0000 {
920939 compatible = "fsl,imx6sl-mmdc", "fsl,imx6q-mmdc";
921940 reg = <0x021b0000 0x4000>;
941
+ clocks = <&clks IMX6SL_CLK_MMDC_P0_IPG>;
922942 };
923943
924944 rngb: rngb@21b4000 {
....@@ -937,10 +957,24 @@
937957 status = "disabled";
938958 };
939959
940
- ocotp: ocotp@21bc000 {
960
+ ocotp: efuse@21bc000 {
941961 compatible = "fsl,imx6sl-ocotp", "syscon";
942962 reg = <0x021bc000 0x4000>;
943963 clocks = <&clks IMX6SL_CLK_OCOTP>;
964
+ #address-cells = <1>;
965
+ #size-cells = <1>;
966
+
967
+ cpu_speed_grade: speed-grade@10 {
968
+ reg = <0x10 4>;
969
+ };
970
+
971
+ tempmon_calib: calib@38 {
972
+ reg = <0x38 4>;
973
+ };
974
+
975
+ tempmon_temp_grade: temp-grade@20 {
976
+ reg = <0x20 4>;
977
+ };
944978 };
945979
946980 audmux: audmux@21d8000 {