Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add basic support for dra62x j5-eco SoC

The dra762x j5-eco is similar to dm814x with a bit different clocks
and devices.

[tony@atomide.com: updated to leave out adpll clock driver references]
Signed-off-by: Tony Lindgren <tony@atomide.com>

+46
+23
arch/arm/boot/dts/dra62x-clocks.dtsi
··· 1 + /* 2 + * This program is free software; you can redistribute it and/or modify 3 + * it under the terms of the GNU General Public License version 2 as 4 + * published by the Free Software Foundation. 5 + */ 6 + 7 + #include "dm814x-clocks.dtsi" 8 + 9 + /* 10 + * Compared to dm814x, dra62x has different shifts and more mux options. 11 + * Please add the extra options for ysclk_14 and 16 if really needed. 12 + */ 13 + &timer1_fck { 14 + clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck 15 + &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>; 16 + ti,bit-shift = <4>; 17 + }; 18 + 19 + &timer2_fck { 20 + clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck 21 + &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>; 22 + ti,bit-shift = <8>; 23 + };
+23
arch/arm/boot/dts/dra62x.dtsi
··· 1 + /* 2 + * This file is licensed under the terms of the GNU General Public License 3 + * version 2. This program is licensed "as is" without any warranty of any 4 + * kind, whether express or implied. 5 + */ 6 + 7 + #include "dm814x.dtsi" 8 + 9 + / { 10 + compatible = "ti,dra62x"; 11 + }; 12 + 13 + /* Compared to dm814x, dra62x has different offsets for Ethernet */ 14 + &mac { 15 + reg = <0x4a100000 0x800 16 + 0x4a101200 0x100>; 17 + }; 18 + 19 + &davinci_mdio { 20 + reg = <0x4a101000 0x100>; 21 + }; 22 + 23 + #include "dra62x-clocks.dtsi"