diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2014-03-28 01:26:41 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-28 10:37:33 +0100 |
commit | 0b7f8d996d95635d0033c1d9b3c8459085ba1194 (patch) | |
tree | 2712608b4c8079560e08b484af72446e6efda1c5 /arch/mips | |
parent | 8e74db588d1bd1dc178271831a6f3a60ad9561d3 (diff) | |
download | barebox-0b7f8d996d95635d0033c1d9b3c8459085ba1194.tar.gz barebox-0b7f8d996d95635d0033c1d9b3c8459085ba1194.tar.xz |
MIPS: ath79: ar9331: add devicetree files
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/dts/ar9331.dtsi | 26 | ||||
l--------- | arch/mips/dts/include/dt-bindings | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/arch/mips/dts/ar9331.dtsi b/arch/mips/dts/ar9331.dtsi new file mode 100644 index 0000000000..890fda8ab5 --- /dev/null +++ b/arch/mips/dts/ar9331.dtsi @@ -0,0 +1,26 @@ +#include <dt-bindings/clock/ar933x-clk.h> + +#include "skeleton.dtsi" + +/ { + soc { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + device_type = "soc"; + ranges; + + serial0: serial@b8020000 { + compatible = "qca,ar9330-uart"; + reg = <0xb8020000 0x14>; + clocks = <&ar9331_clk AR933X_CLK_UART>; + status = "disabled"; + }; + + ar9331_clk: clock { + compatible = "qca,ar933x-clk"; + reg = <0xb8050000 0x48>; + #clock-cells = <1>; + }; + }; +}; diff --git a/arch/mips/dts/include/dt-bindings b/arch/mips/dts/include/dt-bindings new file mode 120000 index 0000000000..0cecb3d080 --- /dev/null +++ b/arch/mips/dts/include/dt-bindings @@ -0,0 +1 @@ +../../../../include/dt-bindings
\ No newline at end of file |