Date: Fri, 5 Jun 2020 20:14:55 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r361849 - head/sys/gnu/dts/arm Message-ID: <202006052014.055KEtbZ061019@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Fri Jun 5 20:14:54 2020 New Revision: 361849 URL: https://svnweb.freebsd.org/changeset/base/361849 Log: 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 Modified: head/sys/gnu/dts/arm/am33xx-l4.dtsi head/sys/gnu/dts/arm/am33xx.dtsi Modified: head/sys/gnu/dts/arm/am33xx-l4.dtsi ============================================================================== --- head/sys/gnu/dts/arm/am33xx-l4.dtsi Fri Jun 5 20:09:13 2020 (r361848) +++ head/sys/gnu/dts/arm/am33xx-l4.dtsi Fri Jun 5 20:14:54 2020 (r361849) @@ -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"; }; }; Modified: head/sys/gnu/dts/arm/am33xx.dtsi ============================================================================== --- head/sys/gnu/dts/arm/am33xx.dtsi Fri Jun 5 20:09:13 2020 (r361848) +++ head/sys/gnu/dts/arm/am33xx.dtsi Fri Jun 5 20:14:54 2020 (r361849) @@ -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";
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006052014.055KEtbZ061019>