ARM: dts: k2*: Rename the k2* files to keystone-k2* files
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 31 Jan 2017 04:02:57 +0000 (09:32 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 8 Feb 2017 20:56:30 +0000 (15:56 -0500)
As reported in [1], rename the k2* dts files to keystone-* files
this will force consistency throughout.

Script for the same (and hand modified for Makefile and config
files):
for i in arch/arm/dts/k2*
do
b=`basename $i`;
git mv $i arch/arm/dts/keystone-$b;
sed -i -e "s/$b/keystone-$b/g" arch/arm/dts/*[si]
done

This is similar to linux kernel commit 5edafc29829bc ("ARM: dts: k2*: Rename
the k2* files to keystone-k2* files")

[1] http://marc.info/?l=linux-arm-kernel&m=145637407804754&w=2

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
20 files changed:
arch/arm/dts/Makefile
arch/arm/dts/keystone-k2e-clocks.dtsi [moved from arch/arm/dts/k2e-clocks.dtsi with 100% similarity]
arch/arm/dts/keystone-k2e-evm.dts [moved from arch/arm/dts/k2e-evm.dts with 98% similarity]
arch/arm/dts/keystone-k2e-netcp.dtsi [moved from arch/arm/dts/k2e-netcp.dtsi with 100% similarity]
arch/arm/dts/keystone-k2e.dtsi [moved from arch/arm/dts/k2e.dtsi with 97% similarity]
arch/arm/dts/keystone-k2g-evm.dts [moved from arch/arm/dts/k2g-evm.dts with 95% similarity]
arch/arm/dts/keystone-k2g-netcp.dtsi [moved from arch/arm/dts/k2g-netcp.dtsi with 98% similarity]
arch/arm/dts/keystone-k2g.dtsi [moved from arch/arm/dts/k2g.dtsi with 97% similarity]
arch/arm/dts/keystone-k2hk-clocks.dtsi [moved from arch/arm/dts/k2hk-clocks.dtsi with 100% similarity]
arch/arm/dts/keystone-k2hk-evm.dts [moved from arch/arm/dts/k2hk-evm.dts with 99% similarity]
arch/arm/dts/keystone-k2hk-netcp.dtsi [moved from arch/arm/dts/k2hk-netcp.dtsi with 100% similarity]
arch/arm/dts/keystone-k2hk.dtsi [moved from arch/arm/dts/k2hk.dtsi with 96% similarity]
arch/arm/dts/keystone-k2l-clocks.dtsi [moved from arch/arm/dts/k2l-clocks.dtsi with 100% similarity]
arch/arm/dts/keystone-k2l-evm.dts [moved from arch/arm/dts/k2l-evm.dts with 98% similarity]
arch/arm/dts/keystone-k2l-netcp.dtsi [moved from arch/arm/dts/k2l-netcp.dtsi with 100% similarity]
arch/arm/dts/keystone-k2l.dtsi [moved from arch/arm/dts/k2l.dtsi with 96% similarity]
configs/k2e_evm_defconfig
configs/k2g_evm_defconfig
configs/k2hk_evm_defconfig
configs/k2l_evm_defconfig

index 397a0ae..2d75f64 100644 (file)
@@ -320,10 +320,10 @@ dtb-$(CONFIG_MX6) += imx6ull-14x14-evk.dtb \
 
 dtb-$(CONFIG_MX7) += imx7-colibri.dtb
 
-dtb-$(CONFIG_SOC_KEYSTONE) += k2hk-evm.dtb \
-       k2l-evm.dtb \
-       k2e-evm.dtb \
-       k2g-evm.dtb
+dtb-$(CONFIG_SOC_KEYSTONE) += keystone-k2hk-evm.dtb \
+       keystone-k2l-evm.dtb \
+       keystone-k2e-evm.dtb \
+       keystone-k2g-evm.dtb
 
 dtb-$(CONFIG_TARGET_SAMA5D2_XPLAINED) += \
        at91-sama5d2_xplained.dtb
similarity index 98%
rename from arch/arm/dts/k2e-evm.dts
rename to arch/arm/dts/keystone-k2e-evm.dts
index e2c3fb4..3be8b53 100644 (file)
@@ -10,7 +10,7 @@
 /dts-v1/;
 
 #include "keystone.dtsi"
-#include "k2e.dtsi"
+#include "keystone-k2e.dtsi"
 
 / {
        compatible =  "ti,k2e-evm","ti,keystone";
similarity index 97%
rename from arch/arm/dts/k2e.dtsi
rename to arch/arm/dts/keystone-k2e.dtsi
index 675fb8e..b5d9061 100644 (file)
@@ -41,7 +41,7 @@
        };
 
        soc {
-               /include/ "k2e-clocks.dtsi"
+               /include/ "keystone-k2e-clocks.dtsi"
 
                usb: usb@2680000 {
                        interrupts = <GIC_SPI 152 IRQ_TYPE_EDGE_RISING>;
                        clock-names = "fck";
                        bus_freq        = <2500000>;
                };
-               /include/ "k2e-netcp.dtsi"
+               /include/ "keystone-k2e-netcp.dtsi"
        };
 };
similarity index 95%
rename from arch/arm/dts/k2g-evm.dts
rename to arch/arm/dts/keystone-k2g-evm.dts
index 61d0d55..696a0d7 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2014 Texas Instruments, Inc.
  *
- * Keystone 2 Galileo EVM device tree
+ * Device Tree Source for K2G EVM
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -9,11 +9,11 @@
  */
 /dts-v1/;
 
-#include "k2g.dtsi"
+#include "keystone-k2g.dtsi"
 
 / {
        compatible =  "ti,k2g-evm","ti,keystone";
-       model = "Texas Instruments Keystone 2 Galileo EVM";
+       model = "Texas Instruments K2G General Purpose EVM";
 
        chosen {
                stdout-path = &uart0;
similarity index 98%
rename from arch/arm/dts/k2g-netcp.dtsi
rename to arch/arm/dts/keystone-k2g-netcp.dtsi
index 6f0ff86..a9b26c3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Device Tree Source for Keystone 2 Galileo Netcp driver
+ * Device Tree Source for K2G Netcp driver
  *
  * Copyright 2015 Texas Instruments, Inc.
  *
similarity index 97%
rename from arch/arm/dts/k2g.dtsi
rename to arch/arm/dts/keystone-k2g.dtsi
index add03b7..2193f9f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright 2014 Texas Instruments, Inc.
  *
- * Keystone 2 Galileo soc device tree
+ * Device Tree Source for K2G SOC
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
@@ -12,7 +12,7 @@
 #include "skeleton.dtsi"
 
 / {
-       model = "Texas Instruments Keystone 2 SoC";
+       model = "Texas Instruments K2G SoC";
        #address-cells = <1>;
        #size-cells = <1>;
        interrupt-parent = <&gic>;
@@ -98,7 +98,7 @@
                        status = "disabled";
                };
 
-               #include "k2g-netcp.dtsi"
+               #include "keystone-k2g-netcp.dtsi"
 
                pmmc: pmmc@2900000 {
                        compatible = "ti,power-processor";
similarity index 99%
rename from arch/arm/dts/k2hk-evm.dts
rename to arch/arm/dts/keystone-k2hk-evm.dts
index c5cad2c..76a675f 100644 (file)
@@ -10,7 +10,7 @@
 /dts-v1/;
 
 #include "keystone.dtsi"
-#include "k2hk.dtsi"
+#include "keystone-k2hk.dtsi"
 
 / {
        compatible =  "ti,k2hk-evm","ti,keystone";
similarity index 96%
rename from arch/arm/dts/k2hk.dtsi
rename to arch/arm/dts/keystone-k2hk.dtsi
index d0810a5..fc78696 100644 (file)
@@ -41,7 +41,7 @@
        };
 
        soc {
-               /include/ "k2hk-clocks.dtsi"
+               /include/ "keystone-k2hk-clocks.dtsi"
 
                dspgpio0: keystone_dsp_gpio@02620240 {
                        compatible = "ti,keystone-dsp-gpio";
                        clock-names = "fck";
                        bus_freq        = <2500000>;
                };
-               /include/ "k2hk-netcp.dtsi"
+               /include/ "keystone-k2hk-netcp.dtsi"
        };
 };
similarity index 98%
rename from arch/arm/dts/k2l-evm.dts
rename to arch/arm/dts/keystone-k2l-evm.dts
index da0661b..b5c5617 100644 (file)
@@ -10,7 +10,7 @@
 /dts-v1/;
 
 #include "keystone.dtsi"
-#include "k2l.dtsi"
+#include "keystone-k2l.dtsi"
 
 / {
        compatible =  "ti,k2l-evm","ti,keystone";
similarity index 96%
rename from arch/arm/dts/k2l.dtsi
rename to arch/arm/dts/keystone-k2l.dtsi
index 49fd414..d681cab 100644 (file)
@@ -29,7 +29,7 @@
        };
 
        soc {
-               /include/ "k2l-clocks.dtsi"
+               /include/ "keystone-k2l-clocks.dtsi"
 
                uart2: serial@02348400 {
                        compatible = "ns16550a";
@@ -89,7 +89,7 @@
                        clock-names = "fck";
                        bus_freq        = <2500000>;
                };
-               /include/ "k2l-netcp.dtsi"
+               /include/ "keystone-k2l-netcp.dtsi"
        };
 };
 
index 8f0d3fa..a42a485 100644 (file)
@@ -8,7 +8,7 @@ CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_DEFAULT_DEVICE_TREE="k2e-evm"
+CONFIG_DEFAULT_DEVICE_TREE="keystone-k2e-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
index 17a5e67..f3ee01a 100644 (file)
@@ -8,7 +8,7 @@ CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_DEFAULT_DEVICE_TREE="k2g-evm"
+CONFIG_DEFAULT_DEVICE_TREE="keystone-k2g-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
index 6791d56..d924796 100644 (file)
@@ -8,7 +8,7 @@ CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_DEFAULT_DEVICE_TREE="k2hk-evm"
+CONFIG_DEFAULT_DEVICE_TREE="keystone-k2hk-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y
index 4a70e1a..c817585 100644 (file)
@@ -8,7 +8,7 @@ CONFIG_SPL_POWER_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
-CONFIG_DEFAULT_DEVICE_TREE="k2l-evm"
+CONFIG_DEFAULT_DEVICE_TREE="keystone-k2l-evm"
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_VERSION_VARIABLE=y