dts: patch the am33xx dts for upcoming clock support

Some ranges are too small compared to what they really are.
Add functional clocks for the timers.

Submitted by:	 Oskar Holmlund (oskar.holmlund@ohdata.se)
X-Differential Revision:	https://reviews.freebsd.org/D25118
This commit is contained in:
Emmanuel Vadot 2020-06-05 20:14:54 +00:00
parent 62352ec9fb
commit f81b2b9a8a
2 changed files with 12 additions and 2 deletions

View File

@ -1167,6 +1167,8 @@
compatible = "ti,am335x-timer";
reg = <0x0 0x400>;
interrupts = <69>;
clocks = <&timer3_fck>;
clock-names = "fck";
};
};
@ -1193,6 +1195,8 @@
reg = <0x0 0x400>;
interrupts = <92>;
ti,timer-pwm;
clocks = <&timer4_fck>;
clock-names = "fck";
};
};
@ -1219,6 +1223,8 @@
reg = <0x0 0x400>;
interrupts = <93>;
ti,timer-pwm;
clocks = <&timer5_fck>;
clock-names = "fck";
};
};
@ -1245,6 +1251,8 @@
reg = <0x0 0x400>;
interrupts = <94>;
ti,timer-pwm;
clocks = <&timer6_fck>;
clock-names = "fck";
};
};
@ -1271,6 +1279,8 @@
reg = <0x0 0x400>;
interrupts = <95>;
ti,timer-pwm;
clocks = <&timer7_fck>;
clock-names = "fck";
};
};

View File

@ -336,7 +336,7 @@
<0x47400010 0x4>;
reg-names = "rev", "sysc";
ti,sysc-mask = <(SYSC_OMAP4_FREEEMU |
SYSC_OMAP2_SOFTRESET)>;
SYSC_OMAP4_SOFTRESET)>;
ti,sysc-midle = <SYSC_IDLE_FORCE>,
<SYSC_IDLE_NO>,
<SYSC_IDLE_SMART>;
@ -348,7 +348,7 @@
clock-names = "fck";
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x47400000 0x5000>;
ranges = <0x0 0x47400000 0x8000>;
usb0_phy: usb-phy@1300 {
compatible = "ti,am335x-usb-phy";