am33xx-strip.dtsi was used to remove unused nodes in the MLO device tree. It always required the am33xx.dtsi include. But if we add aliases to the am33xx.dtsi, where the nodes are beeing deleted in the am33xx-strip.dtsi we get compile errors. So made am33xx-strip.dtsi independent from am33xx.dtsi and renamed it to am33xx-mlo.dtsi. Also added spi0 alias to am33xx-mlo.dtsi. Signed-off-by: Teresa Remmet <t.remmet@xxxxxxxxx> --- arch/arm/dts/am335x-bone-common.dts | 3 +-- arch/arm/dts/am335x-phytec-phycard-som-mlo.dts | 3 +-- arch/arm/dts/am335x-phytec-phycore-som-mlo.dts | 3 +-- arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts | 3 +-- arch/arm/dts/{am33xx-strip.dtsi => am33xx-mlo.dtsi} | 9 ++++++++- 5 files changed, 12 insertions(+), 9 deletions(-) rename arch/arm/dts/{am33xx-strip.dtsi => am33xx-mlo.dtsi} (87%) diff --git a/arch/arm/dts/am335x-bone-common.dts b/arch/arm/dts/am335x-bone-common.dts index 0488cbe..63962df 100644 --- a/arch/arm/dts/am335x-bone-common.dts +++ b/arch/arm/dts/am335x-bone-common.dts @@ -7,8 +7,7 @@ * all we need for the MLO */ -#include "am33xx.dtsi" -#include "am33xx-strip.dtsi" +#include "am33xx-mlo.dtsi" #include "am33xx-clocks-strip.dtsi" #include "am335x-bone-common.dtsi" diff --git a/arch/arm/dts/am335x-phytec-phycard-som-mlo.dts b/arch/arm/dts/am335x-phytec-phycard-som-mlo.dts index a1755fd..817093b 100644 --- a/arch/arm/dts/am335x-phytec-phycard-som-mlo.dts +++ b/arch/arm/dts/am335x-phytec-phycard-som-mlo.dts @@ -7,9 +7,8 @@ */ /dts-v1/; -#include "am33xx.dtsi" +#include "am33xx-mlo.dtsi" #include "am335x-phytec-phycard-som.dtsi" -#include "am33xx-strip.dtsi" #include "am33xx-clocks-strip.dtsi" / { diff --git a/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts b/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts index f7bc462..817b672 100644 --- a/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts +++ b/arch/arm/dts/am335x-phytec-phycore-som-mlo.dts @@ -7,9 +7,8 @@ */ /dts-v1/; -#include "am33xx.dtsi" +#include "am33xx-mlo.dtsi" #include "am335x-phytec-phycore-som.dtsi" -#include "am33xx-strip.dtsi" #include "am33xx-clocks-strip.dtsi" / { diff --git a/arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts b/arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts index e848a29..cf36c4c 100644 --- a/arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts +++ b/arch/arm/dts/am335x-phytec-phyflex-som-mlo.dts @@ -7,9 +7,8 @@ */ /dts-v1/; -#include "am33xx.dtsi" +#include "am33xx-mlo.dtsi" #include "am335x-phytec-phyflex-som.dtsi" -#include "am33xx-strip.dtsi" #include "am33xx-clocks-strip.dtsi" / { diff --git a/arch/arm/dts/am33xx-strip.dtsi b/arch/arm/dts/am33xx-mlo.dtsi similarity index 87% rename from arch/arm/dts/am33xx-strip.dtsi rename to arch/arm/dts/am33xx-mlo.dtsi index 2943fd1..36f137b 100644 --- a/arch/arm/dts/am33xx-strip.dtsi +++ b/arch/arm/dts/am33xx-mlo.dtsi @@ -6,12 +6,19 @@ * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ +#include <arm/am33xx.dtsi> / { aliases { + gpio0 = &gpio0; + gpio1 = &gpio1; + gpio2 = &gpio2; + gpio3 = &gpio3; + mmc0 = &mmc1; + mmc1 = &mmc2; + spi0 = &spi0; /delete-property/ i2c1; /delete-property/ i2c2; - /delete-property/ mmc2; /delete-property/ d_can0; /delete-property/ d_can1; }; -- 1.9.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox