···11+/*22+ * This program is free software; you can redistribute it and/or modify33+ * it under the terms of the GNU General Public License version 2 as44+ * published by the Free Software Foundation.55+ */66+77+#include "dm814x-clocks.dtsi"88+99+/*1010+ * Compared to dm814x, dra62x has different shifts and more mux options.1111+ * Please add the extra options for ysclk_14 and 16 if really needed.1212+ */1313+&timer1_fck {1414+ clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck1515+ &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>;1616+ ti,bit-shift = <4>;1717+};1818+1919+&timer2_fck {2020+ clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck2121+ &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>;2222+ ti,bit-shift = <8>;2323+};
+23
arch/arm/boot/dts/dra62x.dtsi
···11+/*22+ * This file is licensed under the terms of the GNU General Public License33+ * version 2. This program is licensed "as is" without any warranty of any44+ * kind, whether express or implied.55+ */66+77+#include "dm814x.dtsi"88+99+/ {1010+ compatible = "ti,dra62x";1111+};1212+1313+/* Compared to dm814x, dra62x has different offsets for Ethernet */1414+&mac {1515+ reg = <0x4a100000 0x8001616+ 0x4a101200 0x100>;1717+};1818+1919+&davinci_mdio {2020+ reg = <0x4a101000 0x100>;2121+};2222+2323+#include "dra62x-clocks.dtsi"