base-files: define yes/no as valid boolean options
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0062-ARM-kirkwood-Introduce-MBus-DT-node.patch
1 From 9d4a304873c9f6a8bbf78cba329985768a1c6c93 Mon Sep 17 00:00:00 2001
2 From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
3 Date: Tue, 23 Jul 2013 07:48:04 -0300
4 Subject: [PATCH 062/203] ARM: kirkwood: Introduce MBus DT node
5
6 Add a minimal MBus node, just to allow the MBus driver to probe.
7 Follow-up patches will migrate the rest of the nodes appropriately.
8
9 Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
10 Tested-by: Andrew Lunn <andrew@lunn.ch>
11 Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
12 ---
13  arch/arm/boot/dts/kirkwood.dtsi | 10 ++++++++++
14  1 file changed, 10 insertions(+)
15
16 --- a/arch/arm/boot/dts/kirkwood.dtsi
17 +++ b/arch/arm/boot/dts/kirkwood.dtsi
18 @@ -16,6 +16,11 @@
19                       <0xf1020214 0x04>;
20         };
21  
22 +       mbus {
23 +               compatible = "marvell,kirkwood-mbus", "simple-bus";
24 +               controller = <&mbusc>;
25 +       };
26 +
27         ocp@f1000000 {
28                 compatible = "simple-bus";
29                 ranges = <0x00000000 0xf1000000 0x4000000
30 @@ -23,6 +28,11 @@
31                 #address-cells = <1>;
32                 #size-cells = <1>;
33  
34 +               mbusc: mbus-controller@20000 {
35 +                       compatible = "marvell,mbus-controller";
36 +                       reg = <0x20000 0x80>, <0x1500 0x20>;
37 +               };
38 +
39                 core_clk: core-clocks@10030 {
40                         compatible = "marvell,kirkwood-core-clock";
41                         reg = <0x10030 0x4>;