forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/imx25.dtsi
....@@ -75,7 +75,7 @@
7575 interrupt-parent = <&asic>;
7676 ranges;
7777
78
- aips@43f00000 { /* AIPS1 */
78
+ bus@43f00000 { /* AIPS1 */
7979 compatible = "fsl,aips-bus", "simple-bus";
8080 #address-cells = <1>;
8181 #size-cells = <1>;
....@@ -166,7 +166,7 @@
166166 status = "disabled";
167167 };
168168
169
- spi1: cspi@43fa4000 {
169
+ spi1: spi@43fa4000 {
170170 #address-cells = <1>;
171171 #size-cells = <0>;
172172 compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
....@@ -207,7 +207,7 @@
207207 reg = <0x50000000 0x40000>;
208208 ranges;
209209
210
- spi3: cspi@50004000 {
210
+ spi3: spi@50004000 {
211211 #address-cells = <1>;
212212 #size-cells = <0>;
213213 compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
....@@ -236,7 +236,7 @@
236236 status = "disabled";
237237 };
238238
239
- spi2: cspi@50010000 {
239
+ spi2: spi@50010000 {
240240 #address-cells = <1>;
241241 #size-cells = <0>;
242242 compatible = "fsl,imx25-cspi", "fsl,imx35-cspi";
....@@ -332,7 +332,7 @@
332332 };
333333 };
334334
335
- aips@53f00000 { /* AIPS2 */
335
+ bus@53f00000 { /* AIPS2 */
336336 compatible = "fsl,aips-bus", "simple-bus";
337337 #address-cells = <1>;
338338 #size-cells = <1>;
....@@ -386,12 +386,16 @@
386386 epit1: timer@53f94000 {
387387 compatible = "fsl,imx25-epit";
388388 reg = <0x53f94000 0x4000>;
389
+ clocks = <&clks 83>, <&clks 43>;
390
+ clock-names = "ipg", "per";
389391 interrupts = <28>;
390392 };
391393
392394 epit2: timer@53f98000 {
393395 compatible = "fsl,imx25-epit";
394396 reg = <0x53f98000 0x4000>;
397
+ clocks = <&clks 84>, <&clks 43>;
398
+ clock-names = "ipg", "per";
395399 interrupts = <27>;
396400 };
397401
....@@ -407,7 +411,7 @@
407411
408412 pwm2: pwm@53fa0000 {
409413 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
410
- #pwm-cells = <2>;
414
+ #pwm-cells = <3>;
411415 reg = <0x53fa0000 0x4000>;
412416 clocks = <&clks 106>, <&clks 52>;
413417 clock-names = "ipg", "per";
....@@ -426,7 +430,7 @@
426430
427431 pwm3: pwm@53fa8000 {
428432 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
429
- #pwm-cells = <2>;
433
+ #pwm-cells = <3>;
430434 reg = <0x53fa8000 0x4000>;
431435 clocks = <&clks 107>, <&clks 52>;
432436 clock-names = "ipg", "per";
....@@ -449,7 +453,7 @@
449453 interrupts = <22>;
450454 };
451455
452
- esdhc1: esdhc@53fb4000 {
456
+ esdhc1: mmc@53fb4000 {
453457 compatible = "fsl,imx25-esdhc";
454458 reg = <0x53fb4000 0x4000>;
455459 interrupts = <9>;
....@@ -458,7 +462,7 @@
458462 status = "disabled";
459463 };
460464
461
- esdhc2: esdhc@53fb8000 {
465
+ esdhc2: mmc@53fb8000 {
462466 compatible = "fsl,imx25-esdhc";
463467 reg = <0x53fb8000 0x4000>;
464468 interrupts = <8>;
....@@ -484,7 +488,7 @@
484488
485489 pwm4: pwm@53fc8000 {
486490 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
487
- #pwm-cells = <2>;
491
+ #pwm-cells = <3>;
488492 reg = <0x53fc8000 0x4000>;
489493 clocks = <&clks 108>, <&clks 52>;
490494 clock-names = "ipg", "per";
....@@ -511,7 +515,7 @@
511515 #interrupt-cells = <2>;
512516 };
513517
514
- sdma: sdma@53fd4000 {
518
+ sdma: dma-controller@53fd4000 {
515519 compatible = "fsl,imx25-sdma";
516520 reg = <0x53fd4000 0x4000>;
517521 clocks = <&clks 112>, <&clks 68>;
....@@ -531,14 +535,14 @@
531535
532536 pwm1: pwm@53fe0000 {
533537 compatible = "fsl,imx25-pwm", "fsl,imx27-pwm";
534
- #pwm-cells = <2>;
538
+ #pwm-cells = <3>;
535539 reg = <0x53fe0000 0x4000>;
536540 clocks = <&clks 105>, <&clks 52>;
537541 clock-names = "ipg", "per";
538542 interrupts = <26>;
539543 };
540544
541
- iim: iim@53ff0000 {
545
+ iim: efuse@53ff0000 {
542546 compatible = "fsl,imx25-iim", "fsl,imx27-iim";
543547 reg = <0x53ff0000 0x4000>;
544548 interrupts = <19>;
....@@ -566,6 +570,9 @@
566570 clock-names = "ipg", "ahb", "per";
567571 fsl,usbmisc = <&usbmisc 1>;
568572 fsl,usbphy = <&usbphy1>;
573
+ maximum-speed = "full-speed";
574
+ phy_type = "serial";
575
+ dr_mode = "host";
569576 status = "disabled";
570577 };
571578