* [PATCH 0/7] arm64: dts: imx93: add several nodes
@ 2022-08-12 7:46 Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 1/7] arm64: dts: imx93: correct SDHC clk entry Peng Fan (OSS)
` (6 more replies)
0 siblings, 7 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2022-08-12 7:46 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Add S4MU, BLK CTRL, PMU, LPI2C, LPSPI nodes.
Add GPIO clk entry.
Correct SDHC clk entry
Peng Fan (7):
arm64: dts: imx93: correct SDHC clk entry
arm64: dts: imx93: add gpio clk
arm64: dts: imx93: add s4 mu node
arm64: dts: imx93: add blk ctrl node
arm64: dts: imx93: add a55 pmu
arm64: dts: imx93: add lpi2c nodes
arm64: dts: imx93: add lpspi nodes
arch/arm64/boot/dts/freescale/imx93.dtsi | 162 ++++++++++++++++++++++-
1 file changed, 156 insertions(+), 6 deletions(-)
--
2.37.1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [PATCH 1/7] arm64: dts: imx93: correct SDHC clk entry
2022-08-12 7:46 [PATCH 0/7] arm64: dts: imx93: add several nodes Peng Fan (OSS)
@ 2022-08-12 7:46 ` Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 2/7] arm64: dts: imx93: add gpio clk Peng Fan (OSS)
` (5 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2022-08-12 7:46 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan, Haibo Chen
From: Peng Fan <peng.fan@nxp.com>
DUMMY clk only works with clk_ignore_unused and bootloader enables those
clks that required for SDHC work properly.
Correct SDHC clk entry with real clk.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index f83a07c7c9b1..431dc239631d 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -248,8 +248,8 @@ usdhc1: mmc@42850000 {
compatible = "fsl,imx93-usdhc", "fsl,imx8mm-usdhc";
reg = <0x42850000 0x10000>;
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clk IMX93_CLK_DUMMY>,
- <&clk IMX93_CLK_DUMMY>,
+ clocks = <&clk IMX93_CLK_BUS_WAKEUP>,
+ <&clk IMX93_CLK_WAKEUP_AXI>,
<&clk IMX93_CLK_USDHC1_GATE>;
clock-names = "ipg", "ahb", "per";
bus-width = <8>;
@@ -262,8 +262,8 @@ usdhc2: mmc@42860000 {
compatible = "fsl,imx93-usdhc", "fsl,imx8mm-usdhc";
reg = <0x42860000 0x10000>;
interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clk IMX93_CLK_DUMMY>,
- <&clk IMX93_CLK_DUMMY>,
+ clocks = <&clk IMX93_CLK_BUS_WAKEUP>,
+ <&clk IMX93_CLK_WAKEUP_AXI>,
<&clk IMX93_CLK_USDHC2_GATE>;
clock-names = "ipg", "ahb", "per";
bus-width = <4>;
@@ -276,8 +276,8 @@ usdhc3: mmc@428b0000 {
compatible = "fsl,imx93-usdhc", "fsl,imx8mm-usdhc";
reg = <0x428b0000 0x10000>;
interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clk IMX93_CLK_DUMMY>,
- <&clk IMX93_CLK_DUMMY>,
+ clocks = <&clk IMX93_CLK_BUS_WAKEUP>,
+ <&clk IMX93_CLK_WAKEUP_AXI>,
<&clk IMX93_CLK_USDHC3_GATE>;
clock-names = "ipg", "ahb", "per";
bus-width = <4>;
--
2.37.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 2/7] arm64: dts: imx93: add gpio clk
2022-08-12 7:46 [PATCH 0/7] arm64: dts: imx93: add several nodes Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 1/7] arm64: dts: imx93: correct SDHC clk entry Peng Fan (OSS)
@ 2022-08-12 7:46 ` Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 3/7] arm64: dts: imx93: add s4 mu node Peng Fan (OSS)
` (4 subsequent siblings)
6 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2022-08-12 7:46 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan, Jacky Bai
From: Peng Fan <peng.fan@nxp.com>
Add the GPIO clk, otherwise GPIO may not work if clk driver disable the
GPIO clk during kernel boot.
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 431dc239631d..26d5ce4a5f2c 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -295,6 +295,9 @@ gpio2: gpio@43810080 {
interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <2>;
+ clocks = <&clk IMX93_CLK_GPIO2_GATE>,
+ <&clk IMX93_CLK_GPIO2_GATE>;
+ clock-names = "gpio", "port";
gpio-ranges = <&iomuxc 0 32 32>;
};
@@ -306,6 +309,9 @@ gpio3: gpio@43820080 {
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <2>;
+ clocks = <&clk IMX93_CLK_GPIO3_GATE>,
+ <&clk IMX93_CLK_GPIO3_GATE>;
+ clock-names = "gpio", "port";
gpio-ranges = <&iomuxc 0 64 32>;
};
@@ -317,6 +323,9 @@ gpio4: gpio@43830080 {
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <2>;
+ clocks = <&clk IMX93_CLK_GPIO4_GATE>,
+ <&clk IMX93_CLK_GPIO4_GATE>;
+ clock-names = "gpio", "port";
gpio-ranges = <&iomuxc 0 96 32>;
};
@@ -328,6 +337,9 @@ gpio1: gpio@47400080 {
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
interrupt-controller;
#interrupt-cells = <2>;
+ clocks = <&clk IMX93_CLK_GPIO1_GATE>,
+ <&clk IMX93_CLK_GPIO1_GATE>;
+ clock-names = "gpio", "port";
gpio-ranges = <&iomuxc 0 0 32>;
};
};
--
2.37.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 3/7] arm64: dts: imx93: add s4 mu node
2022-08-12 7:46 [PATCH 0/7] arm64: dts: imx93: add several nodes Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 1/7] arm64: dts: imx93: correct SDHC clk entry Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 2/7] arm64: dts: imx93: add gpio clk Peng Fan (OSS)
@ 2022-08-12 7:46 ` Peng Fan (OSS)
2022-08-12 10:07 ` Krzysztof Kozlowski
2022-08-12 7:46 ` [PATCH 4/7] arm64: dts: imx93: add blk ctrl node Peng Fan (OSS)
` (3 subsequent siblings)
6 siblings, 1 reply; 12+ messages in thread
From: Peng Fan (OSS) @ 2022-08-12 7:46 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan, Ye Li, Jacky Bai
From: Peng Fan <peng.fan@nxp.com>
Add s4 mu node for sentinel communication
Reviewed-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 26d5ce4a5f2c..dd76472ced46 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -342,5 +342,15 @@ gpio1: gpio@47400080 {
clock-names = "gpio", "port";
gpio-ranges = <&iomuxc 0 0 32>;
};
+
+ s4muap: mailbox@47520000 {
+ compatible = "fsl,imx93-mu-s4";
+ reg = <0x47520000 0x10000>;
+ interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "txirq", "rxirq";
+ #mbox-cells = <2>;
+ status = "okay";
+ };
};
};
--
2.37.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 4/7] arm64: dts: imx93: add blk ctrl node
2022-08-12 7:46 [PATCH 0/7] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (2 preceding siblings ...)
2022-08-12 7:46 ` [PATCH 3/7] arm64: dts: imx93: add s4 mu node Peng Fan (OSS)
@ 2022-08-12 7:46 ` Peng Fan (OSS)
2022-08-12 10:08 ` Krzysztof Kozlowski
2022-08-12 7:46 ` [PATCH 5/7] arm64: dts: imx93: add a55 pmu Peng Fan (OSS)
` (2 subsequent siblings)
6 siblings, 1 reply; 12+ messages in thread
From: Peng Fan (OSS) @ 2022-08-12 7:46 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Add i.MX93 BLK CTRL MIX node
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index dd76472ced46..55f396723adb 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -112,6 +112,11 @@ aips1: bus@44000000 {
#size-cells = <1>;
ranges;
+ anomix_ns_gpr: blk-ctrl-ns-anomix@44210000 {
+ compatible = "syscon";
+ reg = <0x44210000 0x1000>;
+ };
+
mu1: mailbox@44230000 {
compatible = "fsl,imx93-mu", "fsl,imx8ulp-mu";
reg = <0x44230000 0x10000>;
@@ -174,6 +179,11 @@ aips2: bus@42000000 {
#size-cells = <1>;
ranges;
+ wakeupmix_gpr: blk-ctrl-wakeupmix@42420000 {
+ compatible = "syscon";
+ reg = <0x42420000 0x1000>;
+ };
+
mu2: mailbox@42440000 {
compatible = "fsl,imx93-mu", "fsl,imx8ulp-mu";
reg = <0x42440000 0x10000>;
--
2.37.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 5/7] arm64: dts: imx93: add a55 pmu
2022-08-12 7:46 [PATCH 0/7] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (3 preceding siblings ...)
2022-08-12 7:46 ` [PATCH 4/7] arm64: dts: imx93: add blk ctrl node Peng Fan (OSS)
@ 2022-08-12 7:46 ` Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 6/7] arm64: dts: imx93: add lpi2c nodes Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 7/7] arm64: dts: imx93: add lpspi nodes Peng Fan (OSS)
6 siblings, 0 replies; 12+ messages in thread
From: Peng Fan (OSS) @ 2022-08-12 7:46 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan, Ye Li
From: Peng Fan <peng.fan@nxp.com>
Add A55 PMU node for perf usage
Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 55f396723adb..fd687d78cd03 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -72,6 +72,11 @@ clk_ext1: clock-ext1 {
clock-output-names = "clk_ext1";
};
+ pmu {
+ compatible = "arm,cortex-a55-pmu";
+ interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
+ };
+
psci {
compatible = "arm,psci-1.0";
method = "smc";
--
2.37.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 6/7] arm64: dts: imx93: add lpi2c nodes
2022-08-12 7:46 [PATCH 0/7] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (4 preceding siblings ...)
2022-08-12 7:46 ` [PATCH 5/7] arm64: dts: imx93: add a55 pmu Peng Fan (OSS)
@ 2022-08-12 7:46 ` Peng Fan (OSS)
2022-08-12 10:09 ` Krzysztof Kozlowski
2022-08-12 7:46 ` [PATCH 7/7] arm64: dts: imx93: add lpspi nodes Peng Fan (OSS)
6 siblings, 1 reply; 12+ messages in thread
From: Peng Fan (OSS) @ 2022-08-12 7:46 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Add i.MX93 lpi2c nodes
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 89 ++++++++++++++++++++++++
1 file changed, 89 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index fd687d78cd03..3d1309d393a4 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -16,6 +16,14 @@ / {
#size-cells = <2>;
aliases {
+ i2c0 = &lpi2c1;
+ i2c1 = &lpi2c2;
+ i2c2 = &lpi2c3;
+ i2c3 = &lpi2c4;
+ i2c4 = &lpi2c5;
+ i2c5 = &lpi2c6;
+ i2c6 = &lpi2c7;
+ i2c7 = &lpi2c8;
mmc0 = &usdhc1;
mmc1 = &usdhc2;
mmc2 = &usdhc3;
@@ -138,6 +146,26 @@ system_counter: timer@44290000 {
clock-names = "per";
};
+ lpi2c1: i2c@44340000 {
+ compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
+ reg = <0x44340000 0x10000>;
+ interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPI2C1_GATE>,
+ <&clk IMX93_CLK_BUS_AON>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
+ lpi2c2: i2c@44350000 {
+ compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
+ reg = <0x44350000 0x10000>;
+ interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPI2C2_GATE>,
+ <&clk IMX93_CLK_BUS_AON>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
lpuart1: serial@44380000 {
compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
reg = <0x44380000 0x1000>;
@@ -197,6 +225,26 @@ mu2: mailbox@42440000 {
status = "disabled";
};
+ lpi2c3: i2c@42530000 {
+ compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
+ reg = <0x42530000 0x10000>;
+ interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPI2C3_GATE>,
+ <&clk IMX93_CLK_BUS_WAKEUP>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
+ lpi2c4: i2c@42540000 {
+ compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
+ reg = <0x42540000 0x10000>;
+ interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPI2C4_GATE>,
+ <&clk IMX93_CLK_BUS_WAKEUP>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
lpuart3: serial@42570000 {
compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
reg = <0x42570000 0x1000>;
@@ -250,6 +298,47 @@ lpuart8: serial@426a0000 {
clock-names = "ipg";
status = "disabled";
};
+
+ lpi2c5: i2c@426b0000 {
+ compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
+ reg = <0x426b0000 0x10000>;
+ interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPI2C5_GATE>,
+ <&clk IMX93_CLK_BUS_WAKEUP>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
+ lpi2c6: i2c@426c0000 {
+ compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
+ reg = <0x426c0000 0x10000>;
+ interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPI2C6_GATE>,
+ <&clk IMX93_CLK_BUS_WAKEUP>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
+ lpi2c7: i2c@426d0000 {
+ compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
+ reg = <0x426d0000 0x10000>;
+ interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPI2C7_GATE>,
+ <&clk IMX93_CLK_BUS_WAKEUP>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
+ lpi2c8: i2c@426e0000 {
+ compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
+ reg = <0x426e0000 0x10000>;
+ interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPI2C8_GATE>,
+ <&clk IMX93_CLK_BUS_WAKEUP>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
};
aips3: bus@42800000 {
--
2.37.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH 7/7] arm64: dts: imx93: add lpspi nodes
2022-08-12 7:46 [PATCH 0/7] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (5 preceding siblings ...)
2022-08-12 7:46 ` [PATCH 6/7] arm64: dts: imx93: add lpi2c nodes Peng Fan (OSS)
@ 2022-08-12 7:46 ` Peng Fan (OSS)
2022-08-12 10:10 ` Krzysztof Kozlowski
6 siblings, 1 reply; 12+ messages in thread
From: Peng Fan (OSS) @ 2022-08-12 7:46 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Add i.MX93 lpspi nodes
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 3d1309d393a4..64fae970bfdd 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -166,6 +166,30 @@ lpi2c2: i2c@44350000 {
status = "disabled";
};
+ lpspi1: spi@44360000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "fsl,imx93-spi", "fsl,imx7ulp-spi";
+ reg = <0x44360000 0x10000>;
+ interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPSPI1_GATE>,
+ <&clk IMX93_CLK_BUS_AON>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
+ lpspi2: spi@44370000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "fsl,imx93-spi", "fsl,imx7ulp-spi";
+ reg = <0x44370000 0x10000>;
+ interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clk IMX93_CLK_LPSPI2_GATE>,
+ <&clk IMX93_CLK_BUS_AON>;
+ clock-names = "per", "ipg";
+ status = "disabled";
+ };
+
lpuart1: serial@44380000 {
compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
reg = <0x44380000 0x1000>;
--
2.37.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH 3/7] arm64: dts: imx93: add s4 mu node
2022-08-12 7:46 ` [PATCH 3/7] arm64: dts: imx93: add s4 mu node Peng Fan (OSS)
@ 2022-08-12 10:07 ` Krzysztof Kozlowski
0 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-12 10:07 UTC (permalink / raw)
To: Peng Fan (OSS), robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan, Ye Li, Jacky Bai
On 12/08/2022 10:46, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add s4 mu node for sentinel communication
>
> Reviewed-by: Ye Li <ye.li@nxp.com>
> Reviewed-by: Jacky Bai <ping.bai@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx93.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
> index 26d5ce4a5f2c..dd76472ced46 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> @@ -342,5 +342,15 @@ gpio1: gpio@47400080 {
> clock-names = "gpio", "port";
> gpio-ranges = <&iomuxc 0 0 32>;
> };
> +
> + s4muap: mailbox@47520000 {
> + compatible = "fsl,imx93-mu-s4";
> + reg = <0x47520000 0x10000>;
> + interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>,
> + <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
> + interrupt-names = "txirq", "rxirq";
> + #mbox-cells = <2>;
> + status = "okay";
No need for status.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 4/7] arm64: dts: imx93: add blk ctrl node
2022-08-12 7:46 ` [PATCH 4/7] arm64: dts: imx93: add blk ctrl node Peng Fan (OSS)
@ 2022-08-12 10:08 ` Krzysztof Kozlowski
0 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-12 10:08 UTC (permalink / raw)
To: Peng Fan (OSS), robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan
On 12/08/2022 10:46, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add i.MX93 BLK CTRL MIX node
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx93.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
> index dd76472ced46..55f396723adb 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> @@ -112,6 +112,11 @@ aips1: bus@44000000 {
> #size-cells = <1>;
> ranges;
>
> + anomix_ns_gpr: blk-ctrl-ns-anomix@44210000 {
Node names should be generic.
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
> + compatible = "syscon";
No, syscon alone is not allowed.
> + reg = <0x44210000 0x1000>;
> + };
> +
> mu1: mailbox@44230000 {
> compatible = "fsl,imx93-mu", "fsl,imx8ulp-mu";
> reg = <0x44230000 0x10000>;
> @@ -174,6 +179,11 @@ aips2: bus@42000000 {
> #size-cells = <1>;
> ranges;
>
> + wakeupmix_gpr: blk-ctrl-wakeupmix@42420000 {
> + compatible = "syscon";
Ditto
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 6/7] arm64: dts: imx93: add lpi2c nodes
2022-08-12 7:46 ` [PATCH 6/7] arm64: dts: imx93: add lpi2c nodes Peng Fan (OSS)
@ 2022-08-12 10:09 ` Krzysztof Kozlowski
0 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-12 10:09 UTC (permalink / raw)
To: Peng Fan (OSS), robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan
On 12/08/2022 10:46, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add i.MX93 lpi2c nodes
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx93.dtsi | 89 ++++++++++++++++++++++++
> 1 file changed, 89 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
> index fd687d78cd03..3d1309d393a4 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> @@ -16,6 +16,14 @@ / {
> #size-cells = <2>;
>
> aliases {
> + i2c0 = &lpi2c1;
> + i2c1 = &lpi2c2;
> + i2c2 = &lpi2c3;
> + i2c3 = &lpi2c4;
> + i2c4 = &lpi2c5;
> + i2c5 = &lpi2c6;
> + i2c6 = &lpi2c7;
> + i2c7 = &lpi2c8;
i2c aliases are property of the board.
https://lore.kernel.org/linux-rockchip/CAK8P3a25iYksubCnQb1-e5yj=crEsK37RB9Hn4ZGZMwcVVrG7g@mail.gmail.com/
> mmc0 = &usdhc1;
> mmc1 = &usdhc2;
> mmc2 = &usdhc3;
> @@ -138,6 +146,26 @@ system_counter: timer@44290000 {
> clock-names = "per";
> };
>
> + lpi2c1: i2c@44340000 {
> + compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
Undocumented compatible.
> + reg = <0x44340000 0x10000>;
> + interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clk IMX93_CLK_LPI2C1_GATE>,
> + <&clk IMX93_CLK_BUS_AON>;
> + clock-names = "per", "ipg";
> + status = "disabled";
> + };
> +
(...)
> + lpi2c8: i2c@426e0000 {
> + compatible = "fsl,imx93-lpi2c", "fsl,imx7ulp-lpi2c";
> + reg = <0x426e0000 0x10000>;
> + interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&clk IMX93_CLK_LPI2C8_GATE>,
> + <&clk IMX93_CLK_BUS_WAKEUP>;
> + clock-names = "per", "ipg";
> + status = "disabled";
> + };
> +
No need for blank line
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH 7/7] arm64: dts: imx93: add lpspi nodes
2022-08-12 7:46 ` [PATCH 7/7] arm64: dts: imx93: add lpspi nodes Peng Fan (OSS)
@ 2022-08-12 10:10 ` Krzysztof Kozlowski
0 siblings, 0 replies; 12+ messages in thread
From: Krzysztof Kozlowski @ 2022-08-12 10:10 UTC (permalink / raw)
To: Peng Fan (OSS), robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan
On 12/08/2022 10:46, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Add i.MX93 lpspi nodes
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> ---
> arch/arm64/boot/dts/freescale/imx93.dtsi | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
> index 3d1309d393a4..64fae970bfdd 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> @@ -166,6 +166,30 @@ lpi2c2: i2c@44350000 {
> status = "disabled";
> };
>
> + lpspi1: spi@44360000 {
> + #address-cells = <1>;
> + #size-cells = <0>;
First compatible, then reg, then the rest of properties.
> + compatible = "fsl,imx93-spi", "fsl,imx7ulp-spi";
Undocumented compatible.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2022-08-12 10:11 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12 7:46 [PATCH 0/7] arm64: dts: imx93: add several nodes Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 1/7] arm64: dts: imx93: correct SDHC clk entry Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 2/7] arm64: dts: imx93: add gpio clk Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 3/7] arm64: dts: imx93: add s4 mu node Peng Fan (OSS)
2022-08-12 10:07 ` Krzysztof Kozlowski
2022-08-12 7:46 ` [PATCH 4/7] arm64: dts: imx93: add blk ctrl node Peng Fan (OSS)
2022-08-12 10:08 ` Krzysztof Kozlowski
2022-08-12 7:46 ` [PATCH 5/7] arm64: dts: imx93: add a55 pmu Peng Fan (OSS)
2022-08-12 7:46 ` [PATCH 6/7] arm64: dts: imx93: add lpi2c nodes Peng Fan (OSS)
2022-08-12 10:09 ` Krzysztof Kozlowski
2022-08-12 7:46 ` [PATCH 7/7] arm64: dts: imx93: add lpspi nodes Peng Fan (OSS)
2022-08-12 10:10 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).