From b4e6e2971d3cd00528ad0d2337c68f6effe0dd1d Mon Sep 17 00:00:00 2001 From: Timple Raj M Date: Fri, 28 Oct 2022 19:06:26 +0530 Subject: [PATCH 1/3] arm: dts: rename db-mi01.2 to db-mi01.1 Change-Id: Ifbb828c971b7947f78fc940817f4bd8fa669949b Signed-off-by: Timple Raj M --- arch/arm/dts/{ipq5332-db-mi01.2.dts => ipq5332-db-mi01.1.dts} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename arch/arm/dts/{ipq5332-db-mi01.2.dts => ipq5332-db-mi01.1.dts} (100%) diff --git a/arch/arm/dts/ipq5332-db-mi01.2.dts b/arch/arm/dts/ipq5332-db-mi01.1.dts similarity index 100% rename from arch/arm/dts/ipq5332-db-mi01.2.dts rename to arch/arm/dts/ipq5332-db-mi01.1.dts From c7b972e06bf84c6023a367dc45e6e988e38a2fc9 Mon Sep 17 00:00:00 2001 From: Timple Raj M Date: Fri, 28 Oct 2022 16:32:25 +0530 Subject: [PATCH 2/3] arm: dts: Update the GPIO Configuration GPIO_PULL details updated on AP-MI01.1, AP-MI01.2, AP-MI01.4, DB-MI01.1 and DB-MI02.1 SPI NOR added only in MI01.1 and removed from other RDP's Renamed DB-MI01.2 to DB-MI01.1 Change-Id: Ic2c3467aa06d04dd5e759767a806b4905b0d118a Signed-off-by: Timple Raj M --- arch/arm/dts/ipq5332-db-mi01.1.dts | 11 +++++++-- arch/arm/dts/ipq5332-db-mi02.1.dts | 9 +++++++- arch/arm/dts/ipq5332-mi01.1.dts | 22 ++++++++++++++---- arch/arm/dts/ipq5332-mi01.2.dts | 37 +++++++----------------------- arch/arm/dts/ipq5332-mi01.4.dts | 37 +++++++----------------------- 5 files changed, 50 insertions(+), 66 deletions(-) diff --git a/arch/arm/dts/ipq5332-db-mi01.1.dts b/arch/arm/dts/ipq5332-db-mi01.1.dts index af3d0619c5..7733e4bf24 100644 --- a/arch/arm/dts/ipq5332-db-mi01.1.dts +++ b/arch/arm/dts/ipq5332-db-mi01.1.dts @@ -17,7 +17,7 @@ #include "ipq5332-soc.dtsi" / { machid = <0x1060001>; - config_name = "config@db-mi01.2"; + config_name = "config@db-mi01.1"; aliases { console = "/serial@78AF000"; @@ -35,13 +35,14 @@ blsp0_uart_rx { gpio = <18>; func = <1>; - pull = ; + pull = ; drvstr = ; }; blsp0_uart_tx { gpio = <19>; func = <1>; drvstr = ; + pull = ; }; }; }; @@ -52,31 +53,37 @@ qspi_dat3 { gpio = <8>; func = <2>; + pull = ; drvstr = ; }; qspi_dat2 { gpio = <9>; func = <2>; + pull = ; drvstr = ; }; qspi_dat1 { gpio = <10>; func = <2>; + pull = ; drvstr = ; }; qspi_dat0 { gpio = <11>; func = <2>; + pull = ; drvstr = ; }; qspi_cs_n { gpio = <12>; func = <2>; + pull = ; drvstr = ; }; qspi_clk { gpio = <13>; func = <2>; + pull = ; drvstr = ; }; }; diff --git a/arch/arm/dts/ipq5332-db-mi02.1.dts b/arch/arm/dts/ipq5332-db-mi02.1.dts index 0de686bd68..72c227da17 100644 --- a/arch/arm/dts/ipq5332-db-mi02.1.dts +++ b/arch/arm/dts/ipq5332-db-mi02.1.dts @@ -35,12 +35,13 @@ blsp0_uart_rx { gpio = <18>; func = <1>; - pull = ; + pull = ; drvstr = ; }; blsp0_uart_tx { gpio = <19>; func = <1>; + pull = ; drvstr = ; }; }; @@ -52,31 +53,37 @@ qspi_dat3 { gpio = <8>; func = <2>; + pull = ; drvstr = ; }; qspi_dat2 { gpio = <9>; func = <2>; + pull = ; drvstr = ; }; qspi_dat1 { gpio = <10>; func = <2>; + pull = ; drvstr = ; }; qspi_dat0 { gpio = <11>; func = <2>; + pull = ; drvstr = ; }; qspi_cs_n { gpio = <12>; func = <2>; + pull = ; drvstr = ; }; qspi_clk { gpio = <13>; func = <2>; + pull = ; drvstr = ; }; }; diff --git a/arch/arm/dts/ipq5332-mi01.1.dts b/arch/arm/dts/ipq5332-mi01.1.dts index c5352c39ec..e392793481 100644 --- a/arch/arm/dts/ipq5332-mi01.1.dts +++ b/arch/arm/dts/ipq5332-mi01.1.dts @@ -29,16 +29,18 @@ }; serial@78AF000 { + status = "ok"; serial_gpio { blsp0_uart_rx { gpio = <18>; func = <1>; - pull = ; + pull = ; drvstr = ; }; blsp0_uart_tx { gpio = <19>; func = <1>; + pull = ; drvstr = ; }; }; @@ -47,25 +49,29 @@ spi { spi_gpio { blsp0_spi_clk { - gpio = <33>; + gpio = <14>; func = <1>; + pull = ; oe = ; drvstr = ; }; blsp0_spi_mosi { - gpio = <34>; + gpio = <15>; func = <1>; + pull = ; oe = ; drvstr = ; }; blsp0_spi_miso { - gpio = <35>; + gpio = <16>; func = <1>; + pull = ; drvstr = ; }; blsp0_spi_cs { - gpio = <36>; + gpio = <17>; func = <1>; + pull = ; oe = ; drvstr = ; }; @@ -98,31 +104,37 @@ qspi_dat3 { gpio = <8>; func = <2>; + pull = ; drvstr = ; }; qspi_dat2 { gpio = <9>; func = <2>; + pull = ; drvstr = ; }; qspi_dat1 { gpio = <10>; func = <2>; + pull = ; drvstr = ; }; qspi_dat0 { gpio = <11>; func = <2>; + pull = ; drvstr = ; }; qspi_cs_n { gpio = <12>; func = <2>; + pull = ; drvstr = ; }; qspi_clk { gpio = <13>; func = <2>; + pull = ; drvstr = ; }; }; diff --git a/arch/arm/dts/ipq5332-mi01.2.dts b/arch/arm/dts/ipq5332-mi01.2.dts index 58b8a66c55..78f7d946b9 100644 --- a/arch/arm/dts/ipq5332-mi01.2.dts +++ b/arch/arm/dts/ipq5332-mi01.2.dts @@ -35,40 +35,13 @@ blsp0_uart_rx { gpio = <18>; func = <1>; - pull = ; + pull = ; drvstr = ; }; blsp0_uart_tx { gpio = <19>; func = <1>; - drvstr = ; - }; - }; - }; - - spi { - spi_gpio { - blsp0_spi_clk { - gpio = <33>; - func = <1>; - oe = ; - drvstr = ; - }; - blsp0_spi_mosi { - gpio = <34>; - func = <1>; - oe = ; - drvstr = ; - }; - blsp0_spi_miso { - gpio = <35>; - func = <1>; - drvstr = ; - }; - blsp0_spi_cs { - gpio = <36>; - func = <1>; - oe = ; + pull = ; drvstr = ; }; }; @@ -100,31 +73,37 @@ qspi_dat3 { gpio = <8>; func = <2>; + pull = ; drvstr = ; }; qspi_dat2 { gpio = <9>; func = <2>; + pull = ; drvstr = ; }; qspi_dat1 { gpio = <10>; func = <2>; + pull = ; drvstr = ; }; qspi_dat0 { gpio = <11>; func = <2>; + pull = ; drvstr = ; }; qspi_cs_n { gpio = <12>; func = <2>; + pull = ; drvstr = ; }; qspi_clk { gpio = <13>; func = <2>; + pull = ; drvstr = ; }; }; diff --git a/arch/arm/dts/ipq5332-mi01.4.dts b/arch/arm/dts/ipq5332-mi01.4.dts index 9114c082c6..d192c0f40b 100644 --- a/arch/arm/dts/ipq5332-mi01.4.dts +++ b/arch/arm/dts/ipq5332-mi01.4.dts @@ -34,40 +34,13 @@ blsp0_uart_rx { gpio = <18>; func = <1>; - pull = ; + pull = ; drvstr = ; }; blsp0_uart_tx { gpio = <19>; func = <1>; - drvstr = ; - }; - }; - }; - - spi { - spi_gpio { - blsp0_spi_clk { - gpio = <33>; - func = <1>; - oe = ; - drvstr = ; - }; - blsp0_spi_mosi { - gpio = <34>; - func = <1>; - oe = ; - drvstr = ; - }; - blsp0_spi_miso { - gpio = <35>; - func = <1>; - drvstr = ; - }; - blsp0_spi_cs { - gpio = <36>; - func = <1>; - oe = ; + pull = ; drvstr = ; }; }; @@ -99,31 +72,37 @@ qspi_dat3 { gpio = <8>; func = <2>; + pull = ; drvstr = ; }; qspi_dat2 { gpio = <9>; func = <2>; + pull = ; drvstr = ; }; qspi_dat1 { gpio = <10>; func = <2>; + pull = ; drvstr = ; }; qspi_dat0 { gpio = <11>; func = <2>; + pull = ; drvstr = ; }; qspi_cs_n { gpio = <12>; func = <2>; + pull = ; drvstr = ; }; qspi_clk { gpio = <13>; func = <2>; + pull = ; drvstr = ; }; }; From 7fb117c8b3a61f7bde46e81ab0eac427f090e9d0 Mon Sep 17 00:00:00 2001 From: Timple Raj M Date: Fri, 28 Oct 2022 12:35:05 +0530 Subject: [PATCH 3/3] arm: dts: ipq5332: Add build support for DB boards Add build support for DB-MI01.1 and DB-MI02.1 Change-Id: I00a2698924813e52d196469630e271b0c3009aec Signed-off-by: Timple Raj M --- arch/arm/dts/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index c02952e549..a83e11cb68 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -96,7 +96,9 @@ dtb-$(CONFIG_ARCH_IPQ5332) += ipq5332-emulation.dtb \ ipq5332-mi01.2.dtb \ ipq5332-mi01.4.dtb \ ipq5332-mi01.6.dtb \ - ipq5332-mi01.7.dtb + ipq5332-mi01.7.dtb \ + ipq5332-db-mi01.1.dtb \ + ipq5332-db-mi02.1.dtb dtb-$(CONFIG_ARCH_IPQ6018) += ipq6018-cp01-c1.dtb \ ipq6018-cp02-c1.dtb \