ARM: DT: binding fixup to align with vendor-prefixes.txt (DT)
authorChristian Daudt <csd@broadcom.com>
Tue, 30 Jul 2013 23:27:10 +0000 (16:27 -0700)
committerChristian Daudt <csd@broadcom.com>
Tue, 20 Aug 2013 17:47:47 +0000 (10:47 -0700)
[ this is a follow-up to this discussion:
http://archive.arm.linux.org.uk/lurker/message/20130730.230827.a1ceb12a.en.html ]
This patchset renames all uses of "bcm," name bindings to
"brcm," as they were done prior to knowing that brcm had
already been standardized as Broadcom vendor prefix
(in Documentation/devicetree/bindings/vendor-prefixes.txt).
This will not cause any churn on devices because none of
these bindings have made it into production yet.
Also rename the the following dt binding docs that had "bcm,"
in their name for consistency:
 - bcm,kona-sdhci.txt -> kona-sdhci.txt
 - bcm,kona-timer.txt -> kona-timer.txt

Signed-off-by: Christian Daudt <csd@broadcom.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Documentation/devicetree/bindings/arm/bcm/bcm,kona-timer.txt [deleted file]
Documentation/devicetree/bindings/arm/bcm/bcm11351.txt
Documentation/devicetree/bindings/arm/bcm/kona-timer.txt [new file with mode: 0644]
Documentation/devicetree/bindings/misc/smc.txt
Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt [deleted file]
Documentation/devicetree/bindings/mmc/kona-sdhci.txt [new file with mode: 0644]
arch/arm/boot/dts/bcm11351-brt.dts
arch/arm/boot/dts/bcm11351.dtsi
arch/arm/boot/dts/bcm28155-ap.dts

diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm,kona-timer.txt b/Documentation/devicetree/bindings/arm/bcm/bcm,kona-timer.txt
deleted file mode 100644 (file)
index 59fa6e6..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-Broadcom Kona Family timer
------------------------------------------------------
-This timer is used in the following Broadcom SoCs:
- BCM11130, BCM11140, BCM11351, BCM28145, BCM28155
-
-Required properties:
-- compatible : "bcm,kona-timer"
-- reg : Register range for the timer
-- interrupts : interrupt for the timer
-- clock-frequency: frequency that the clock operates
-
-Example:
-       timer@35006000 {
-               compatible = "bcm,kona-timer";
-               reg = <0x35006000 0x1000>;
-               interrupts = <0x0 7 0x4>;
-               clock-frequency = <32768>;
-       };
-
index fb7b5cd2652f412b5a0b09615506c12938ac121b..0ff6560e6094717b93a57219d7b8a07b5a6ef3ab 100644 (file)
@@ -6,4 +6,5 @@ bcm11351, bcm28145, bcm28155 SoCs) shall have the following properties:
 
 Required root node property:
 
-compatible = "bcm,bcm11351";
+compatible = "brcm,bcm11351";
+DEPRECATED: compatible = "bcm,bcm11351";
diff --git a/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt b/Documentation/devicetree/bindings/arm/bcm/kona-timer.txt
new file mode 100644 (file)
index 0000000..17d88b2
--- /dev/null
@@ -0,0 +1,20 @@
+Broadcom Kona Family timer
+-----------------------------------------------------
+This timer is used in the following Broadcom SoCs:
+ BCM11130, BCM11140, BCM11351, BCM28145, BCM28155
+
+Required properties:
+- compatible : "brcm,kona-timer"
+- DEPRECATED: compatible : "bcm,kona-timer"
+- reg : Register range for the timer
+- interrupts : interrupt for the timer
+- clock-frequency: frequency that the clock operates
+
+Example:
+       timer@35006000 {
+               compatible = "brcm,kona-timer";
+               reg = <0x35006000 0x1000>;
+               interrupts = <0x0 7 0x4>;
+               clock-frequency = <32768>;
+       };
+
index 02b4281361771a8151735a76e88eb04fc7765c71..6c9f176f35717acf1a2fd3dcd7ca2cee86daeb88 100644 (file)
@@ -4,11 +4,12 @@ This binding defines the location of the bounce buffer
 used for non-secure to secure communications.
 
 Required properties:
-- compatible : "bcm,kona-smc"
+- compatible : "brcm,kona-smc"
+- DEPRECATED: compatible : "bcm,kona-smc"
 - reg : Location and size of bounce buffer
 
 Example:
        smc@0x3404c000 {
-               compatible = "bcm,bcm11351-smc", "bcm,kona-smc";
+               compatible = "brcm,bcm11351-smc", "brcm,kona-smc";
                reg = <0x3404c000 0x400>; //1 KiB in SRAM
        };
diff --git a/Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt b/Documentation/devicetree/bindings/mmc/bcm,kona-sdhci.txt
deleted file mode 100644 (file)
index 094ae01..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-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>;
-};
-
diff --git a/Documentation/devicetree/bindings/mmc/kona-sdhci.txt b/Documentation/devicetree/bindings/mmc/kona-sdhci.txt
new file mode 100644 (file)
index 0000000..789fb07
--- /dev/null
@@ -0,0 +1,17 @@
+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 "brcm,kona-sdhci"
+- DEPRECATED: compatible : Should be "bcm,kona-sdhci"
+
+Example:
+
+sdio2: sdio@0x3f1a0000 {
+       compatible = "brcm,kona-sdhci";
+       reg = <0x3f1a0000 0x10000>;
+       interrupts = <0x0 74 0x4>;
+};
+
index 647a78c6b61e30f415e7a5f3f4e77295d69ac203..9d36eb4e3c41e8f2d0e7047acf08809dbd39f835 100644 (file)
@@ -17,7 +17,7 @@
 
 / {
        model = "BCM11351 BRT board";
-       compatible = "bcm,bcm11351-brt", "bcm,bcm11351";
+       compatible = "brcm,bcm11351-brt", "brcm,bcm11351";
 
        memory {
                reg = <0x80000000 0x40000000>; /* 1 GB */
index 2ffd292e815f7c5792e64b103fd9a48bb580fe61..05a5aabe3b2ccadbef92c305659ccf4f51fd7580 100644 (file)
@@ -18,7 +18,7 @@
 
 / {
        model = "BCM11351 SoC";
-       compatible = "bcm,bcm11351";
+       compatible = "brcm,bcm11351";
        interrupt-parent = <&gic>;
 
        chosen {
        };
 
        smc@0x3404c000 {
-               compatible = "bcm,bcm11351-smc", "bcm,kona-smc";
+               compatible = "brcm,bcm11351-smc", "brcm,kona-smc";
                reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */
        };
 
        uart@3e000000 {
-               compatible = "bcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
+               compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
                status = "disabled";
                reg = <0x3e000000 0x1000>;
                clock-frequency = <13000000>;
@@ -50,7 +50,7 @@
        };
 
        L2: l2-cache {
-               compatible = "bcm,bcm11351-a2-pl310-cache";
+               compatible = "brcm,bcm11351-a2-pl310-cache";
                reg = <0x3ff20000 0x1000>;
                cache-unified;
                cache-level = <2>;
        };
 
        timer@35006000 {
-               compatible = "bcm,kona-timer";
+               compatible = "brcm,kona-timer";
                reg = <0x35006000 0x1000>;
                interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
                clock-frequency = <32768>;
        };
 
        sdio1: sdio@3f180000 {
-               compatible = "bcm,kona-sdhci";
+               compatible = "brcm,kona-sdhci";
                reg = <0x3f180000 0x10000>;
                interrupts = <0x0 77 0x4>;
                status = "disabled";
        };
 
        sdio2: sdio@3f190000 {
-               compatible = "bcm,kona-sdhci";
+               compatible = "brcm,kona-sdhci";
                reg = <0x3f190000 0x10000>;
                interrupts = <0x0 76 0x4>;
                status = "disabled";
        };
 
        sdio3: sdio@3f1a0000 {
-               compatible = "bcm,kona-sdhci";
+               compatible = "brcm,kona-sdhci";
                reg = <0x3f1a0000 0x10000>;
                interrupts = <0x0 74 0x4>;
                status = "disabled";
        };
 
        sdio4: sdio@3f1b0000 {
-               compatible = "bcm,kona-sdhci";
+               compatible = "brcm,kona-sdhci";
                reg = <0x3f1b0000 0x10000>;
                interrupts = <0x0 73 0x4>;
                status = "disabled";
index 4b0a3ec15cd11a5f62b1961f871283cba7dc2fa6..96ae67a2f0d37dc9ec852b9c00eba004aa0757fa 100644 (file)
@@ -17,7 +17,7 @@
 
 / {
        model = "BCM28155 AP board";
-       compatible = "bcm,bcm28155-ap", "bcm,bcm11351";
+       compatible = "brcm,bcm28155-ap", "brcm,bcm11351";
 
        memory {
                reg = <0x80000000 0x40000000>; /* 1 GB */