From ffaaa6788a983a5eae0117d138a297df3f131869 Mon Sep 17 00:00:00 2001 From: Stanislav Galabov Date: Tue, 10 May 2016 16:23:54 +0300 Subject: ramips: DTS modifications This commit makes the following modifications to ramips dts files: 1. Add clkctrl node to all dtsi files (although not used for now) 2. Add clocks and clock-names properties to some nodes (usbphy, pci) 3. Add usbphy node for rt3050 (although not used for now) 4. Add clock-frequency to uart nodes in mt7621.dtsi and mt7628an.dtsi These modifications, although not fully used at the moment, will make it easier for FreeBSD to adopt and use LEDE ramips dts files with minimal changes for easier maintenance. Signed-off-by: Stanislav Galabov --- target/linux/ramips/dts/rt3352.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target/linux/ramips/dts/rt3352.dtsi') diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi index 386ac51ffb..a818a18d22 100644 --- a/target/linux/ramips/dts/rt3352.dtsi +++ b/target/linux/ramips/dts/rt3352.dtsi @@ -229,6 +229,11 @@ #reset-cells = <1>; }; + clkctrl: clkctrl { + compatible = "ralink,rt2880-clock"; + #clock-cells = <1>; + }; + ethernet: ethernet@10100000 { compatible = "ralink,rt3352-eth", "ralink,rt3050-eth"; reg = <0x10100000 0x10000>; @@ -259,6 +264,8 @@ resets = <&rstctrl 22 &rstctrl 25>; reset-names = "host", "device"; + clocks = <&clkctrl 18 &clkctrl 20>; + clock-names = "host", "device"; }; wmac: wmac@10180000 { -- cgit v1.2.3