diff options
author | Adam Ford | 2019-06-12 15:26:26 -0500 |
---|---|---|
committer | Tom Rini | 2019-07-13 11:11:31 -0400 |
commit | 550eebcfb43f7b7bfb17107c3c01eef5d116b402 (patch) | |
tree | df9b4822d0b8ebf4081a2d71db47abd21a77ea83 /arch | |
parent | 1164c546d59cdcea386ea4056362261a1d21ca5d (diff) |
ARM: dts: logicpd som-lvs and torpedos: Shrink SPL DTB
Since we have limited resources in SPL, it is the best interest
to keep the SPL as small as possible and that includes the DTB.
There are a few items in the device tree that can be removed,
because these boards don't use them.
Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'arch')
4 files changed, 40 insertions, 29 deletions
diff --git a/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi index 956199a2b42..1abd9a38870 100644 --- a/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi +++ b/arch/arm/dts/logicpd-som-lv-35xx-devkit-u-boot.dtsi @@ -10,6 +10,11 @@ chosen { stdout-path = &uart1; }; + + aliases { + /delete-property/ serial1; + /delete-property/ serial2; + }; }; &i2c1 { @@ -20,11 +25,8 @@ clock-frequency = <400000>; }; -&mmc2 { - status = "disabled"; -}; - -&mmc3 { - status = "disabled"; -}; +/delete-node/ &uart2; +/delete-node/ &uart3; +/delete-node/ &mmc2; +/delete-node/ &mmc3; diff --git a/arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi index 956199a2b42..1abd9a38870 100644 --- a/arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi +++ b/arch/arm/dts/logicpd-som-lv-37xx-devkit-u-boot.dtsi @@ -10,6 +10,11 @@ chosen { stdout-path = &uart1; }; + + aliases { + /delete-property/ serial1; + /delete-property/ serial2; + }; }; &i2c1 { @@ -20,11 +25,8 @@ clock-frequency = <400000>; }; -&mmc2 { - status = "disabled"; -}; - -&mmc3 { - status = "disabled"; -}; +/delete-node/ &uart2; +/delete-node/ &uart3; +/delete-node/ &mmc2; +/delete-node/ &mmc3; diff --git a/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi index 2c599f1c51b..1635e42b55a 100644 --- a/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi +++ b/arch/arm/dts/logicpd-torpedo-35xx-devkit-u-boot.dtsi @@ -6,6 +6,13 @@ #include "omap3-u-boot.dtsi" +/ { + aliases { + /delete-property/ serial1; + /delete-property/ serial2; + }; +}; + &i2c1 { clock-frequency = <400000>; }; @@ -14,11 +21,7 @@ clock-frequency = <400000>; }; -&mmc2 { - status = "disabled"; -}; - -&mmc3 { - status = "disabled"; -}; - +/delete-node/ &uart2; +/delete-node/ &uart3; +/delete-node/ &mmc2; +/delete-node/ &mmc3; diff --git a/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi b/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi index 2c599f1c51b..976330f8971 100644 --- a/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi +++ b/arch/arm/dts/logicpd-torpedo-37xx-devkit-u-boot.dtsi @@ -6,6 +6,13 @@ #include "omap3-u-boot.dtsi" +/ { + aliases { + /delete-property/ serial1; + /delete-property/ serial2; + }; +}; + &i2c1 { clock-frequency = <400000>; }; @@ -14,11 +21,8 @@ clock-frequency = <400000>; }; -&mmc2 { - status = "disabled"; -}; - -&mmc3 { - status = "disabled"; -}; +/delete-node/ &uart2; +/delete-node/ &uart3; +/delete-node/ &mmc2; +/delete-node/ &mmc3; |