Commit 7aaa1e8c authored by Arnd Bergmann's avatar Arnd Bergmann

Merge branch 'armsoc/for-3.11/dt' of git://github.com/broadcom/bcm11351 into next/dt

From Christian Daudt:

* 'armsoc/for-3.11/dt' of git://github.com/broadcom/bcm11351:
  ARM: dts: bcm281xx: change comment to C89 style
  ARM: mmc: bcm281xx SDHCI driver (dt mods)
  ARM: dts: bcm281xx: use existing defines for irqs
  ARM: dts: bcm281xx: use #include for device tree files
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parents 5b520c94 d22dc5ed
Broadcom BCM281xx SDHCI
This file documents differences between the core properties in mmc.txt
and the properties present in the bcm281xx SDHCI
Required properties:
- compatible : Should be "bcm,kona-sdhci"
Example:
sdio2: sdio@0x3f1a0000 {
compatible = "bcm,kona-sdhci";
reg = <0x3f1a0000 0x10000>;
interrupts = <0x0 74 0x4>;
};
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
/dts-v1/; /dts-v1/;
/include/ "bcm11351.dtsi" #include "bcm11351.dtsi"
/ { / {
model = "BCM11351 BRT board"; model = "BCM11351 BRT board";
...@@ -27,4 +27,21 @@ uart@3e000000 { ...@@ -27,4 +27,21 @@ uart@3e000000 {
status = "okay"; status = "okay";
}; };
sdio0: sdio@0x3f180000 {
max-frequency = <48000000>;
status = "okay";
};
sdio1: sdio@0x3f190000 {
non-removable;
max-frequency = <48000000>;
status = "okay";
};
sdio3: sdio@0x3f1b0000 {
max-frequency = <48000000>;
status = "okay";
};
}; };
...@@ -11,7 +11,10 @@ ...@@ -11,7 +11,10 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
/include/ "skeleton.dtsi" #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "skeleton.dtsi"
/ { / {
model = "BCM11351 SoC"; model = "BCM11351 SoC";
...@@ -33,7 +36,7 @@ gic: interrupt-controller@3ff00100 { ...@@ -33,7 +36,7 @@ gic: interrupt-controller@3ff00100 {
smc@0x3404c000 { smc@0x3404c000 {
compatible = "bcm,bcm11351-smc", "bcm,kona-smc"; compatible = "bcm,bcm11351-smc", "bcm,kona-smc";
reg = <0x3404c000 0x400>; //1 KiB in SRAM reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */
}; };
uart@3e000000 { uart@3e000000 {
...@@ -41,7 +44,7 @@ uart@3e000000 { ...@@ -41,7 +44,7 @@ uart@3e000000 {
status = "disabled"; status = "disabled";
reg = <0x3e000000 0x1000>; reg = <0x3e000000 0x1000>;
clock-frequency = <13000000>; clock-frequency = <13000000>;
interrupts = <0x0 67 0x4>; interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
reg-shift = <2>; reg-shift = <2>;
reg-io-width = <4>; reg-io-width = <4>;
}; };
...@@ -56,8 +59,36 @@ L2: l2-cache { ...@@ -56,8 +59,36 @@ L2: l2-cache {
timer@35006000 { timer@35006000 {
compatible = "bcm,kona-timer"; compatible = "bcm,kona-timer";
reg = <0x35006000 0x1000>; reg = <0x35006000 0x1000>;
interrupts = <0x0 7 0x4>; interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
clock-frequency = <32768>; clock-frequency = <32768>;
}; };
sdio0: sdio@0x3f180000 {
compatible = "bcm,kona-sdhci";
reg = <0x3f180000 0x10000>;
interrupts = <0x0 77 0x4>;
status = "disabled";
};
sdio1: sdio@0x3f190000 {
compatible = "bcm,kona-sdhci";
reg = <0x3f190000 0x10000>;
interrupts = <0x0 76 0x4>;
status = "disabled";
};
sdio2: sdio@0x3f1a0000 {
compatible = "bcm,kona-sdhci";
reg = <0x3f1a0000 0x10000>;
interrupts = <0x0 74 0x4>;
status = "disabled";
};
sdio3: sdio@0x3f1b0000 {
compatible = "bcm,kona-sdhci";
reg = <0x3f1b0000 0x10000>;
interrupts = <0x0 73 0x4>;
status = "disabled";
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment