summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/mt7620a.dtsi
diff options
context:
space:
mode:
authorStanislav Galabov <sgalabov@gmail.com>2016-05-10 16:23:54 +0300
committerJohn Crispin <john@phrozen.org>2016-05-12 03:29:36 +0200
commitffaaa6788a983a5eae0117d138a297df3f131869 (patch)
treeffaf8d9fa46577511bd8c2a1ce228f6261c78ab6 /target/linux/ramips/dts/mt7620a.dtsi
parentb8ab6af1a9b8cf1ac76e7008661fd3e775e9ae2b (diff)
downloadmtk-20170518-ffaaa6788a983a5eae0117d138a297df3f131869.zip
mtk-20170518-ffaaa6788a983a5eae0117d138a297df3f131869.tar.gz
mtk-20170518-ffaaa6788a983a5eae0117d138a297df3f131869.tar.bz2
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 <sgalabov@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index 352b2d1..2450f7d 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -396,12 +396,20 @@
#reset-cells = <1>;
};
+ clkctrl: clkctrl {
+ compatible = "ralink,rt2880-clock";
+ #clock-cells = <1>;
+ };
+
usbphy: usbphy {
compatible = "mediatek,mt7620-usbphy";
#phy-cells = <1>;
resets = <&rstctrl 22 &rstctrl 25>;
reset-names = "host", "device";
+
+ clocks = <&clkctrl 22 &clkctrl 25>;
+ clock-names = "host", "device";
};
ethernet: ethernet@10100000 {
@@ -499,6 +507,9 @@
resets = <&rstctrl 26>;
reset-names = "pcie0";
+ clocks = <&clkctrl 26>;
+ clock-names = "pcie0";
+
interrupt-parent = <&cpuintc>;
interrupts = <4>;