summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/kirkwood-net2big.dts
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2014-07-08 16:42:24 +0200
committerJason Cooper <jason@lakedaemon.net>2014-07-13 21:22:49 +0000
commit2d4cd2cafaea529948de9ac9f04d88254e473c61 (patch)
tree89977cedd645a2d7e3d5085bf5499b874b41f763 /arch/arm/boot/dts/kirkwood-net2big.dts
parentd854fa8a1500bec982ed9cb26b82d96bd5ae8dab (diff)
ARM: Kirkwood: allow to use netxbig DTSI for d2net_v2 DTS
The d2 Network v2 board (d2net_v2) shares a lot of hardware characteristics with the 2Big and 5Big Network v2 boards. This patch prepares the kirkwood-netxbig.dtsi file in order to allow to include it from the d2net_v2 DTS file. The DT nodes only relevant for the 2Big and 5Big Network v2 boards are moved into their respective DTS files. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Acked-by: Andrew Lunn <andrew@lunn.ch> Link: https://lkml.kernel.org/r/1404830545-15581-2-git-send-email-simon.guinot@sequanux.org Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-net2big.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-net2big.dts30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/kirkwood-net2big.dts b/arch/arm/boot/dts/kirkwood-net2big.dts
index a98deccee59f..53dc37a3b687 100644
--- a/arch/arm/boot/dts/kirkwood-net2big.dts
+++ b/arch/arm/boot/dts/kirkwood-net2big.dts
@@ -28,3 +28,33 @@
reg = <0x00000000 0x10000000>;
};
};
+
+&regulators {
+ regulator@2 {
+ compatible = "regulator-fixed";
+ reg = <2>;
+ regulator-name = "hdd1power";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ enable-active-high;
+ regulator-always-on;
+ regulator-boot-on;
+ gpio = <&gpio0 17 GPIO_ACTIVE_HIGH>;
+ };
+
+ clocks {
+ g762_clk: g762-oscillator {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ };
+ };
+};
+
+&i2c0 {
+ g762@3e {
+ compatible = "gmt,g762";
+ reg = <0x3e>;
+ clocks = <&g762_clk>;
+ };
+};