diff options
author | Tony Lindgren <tony@atomide.com> | 2015-12-23 03:00:20 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-12-23 03:00:20 +0300 |
commit | c46ab06101fdd3dcc5355f61e604c5d954cc263c (patch) | |
tree | 55594368841156b1a40d55e30e00fdffea297e6c /arch | |
parent | d893656e61040f3ff7b5f72a986052a348f3c94e (diff) | |
download | linux-c46ab06101fdd3dcc5355f61e604c5d954cc263c.tar.xz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/dra62x-clocks.dtsi | 23 | ||||
-rw-r--r-- | arch/arm/boot/dts/dra62x.dtsi | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dra62x-clocks.dtsi b/arch/arm/boot/dts/dra62x-clocks.dtsi new file mode 100644 index 000000000000..6f98dc8df9dd --- /dev/null +++ b/arch/arm/boot/dts/dra62x-clocks.dtsi @@ -0,0 +1,23 @@ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include "dm814x-clocks.dtsi" + +/* + * Compared to dm814x, dra62x has different shifts and more mux options. + * Please add the extra options for ysclk_14 and 16 if really needed. + */ +&timer1_fck { + clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck + &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>; + ti,bit-shift = <4>; +}; + +&timer2_fck { + clocks = <&sysclk18_ck &aud_clkin0_ck &aud_clkin1_ck + &aud_clkin2_ck &devosc_ck &auxosc_ck &tclkin_ck>; + ti,bit-shift = <8>; +}; diff --git a/arch/arm/boot/dts/dra62x.dtsi b/arch/arm/boot/dts/dra62x.dtsi new file mode 100644 index 000000000000..d3cbb4ea35a8 --- /dev/null +++ b/arch/arm/boot/dts/dra62x.dtsi @@ -0,0 +1,23 @@ +/* + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +#include "dm814x.dtsi" + +/ { + compatible = "ti,dra62x"; +}; + +/* Compared to dm814x, dra62x has different offsets for Ethernet */ +&mac { + reg = <0x4a100000 0x800 + 0x4a101200 0x100>; +}; + +&davinci_mdio { + reg = <0x4a101000 0x100>; +}; + +#include "dra62x-clocks.dtsi" |