* [PATCH V4 0/8] arm64: dts: imx93: add several nodes
@ 2022-09-05 5:59 Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 1/8] dt-bindings: mfd: syscon: Add i.MX93 blk ctrl system registers Peng Fan (OSS)
` (8 more replies)
0 siblings, 9 replies; 11+ messages in thread
From: Peng Fan (OSS) @ 2022-09-05 5:59 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, devicetree,
linux-arm-kernel, linux-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
V4:
Per Rob's comment, use syscon.yaml for i.MX93 aonmix/wakeupmix blk ctrl.
Drop status okay in s4mu node in patch 4 per Shawn's comment.
V3:
Address DT maintainer's comments in patch 1
V2:
Add binding doc for aonmix/wakeupmix blk ctrl
Update compatible in patch 5 according to binding doc
The lpi2c binding doc has been accepted:
https://lore.kernel.org/all/Yw3hfcQ2JV248GIo@shikoro/
V1:
Add S4MU, BLK CTRL, PMU, LPI2C, LPSPI nodes.
Add GPIO clk entry.
Correct SDHC clk entry
https://patchwork.kernel.org/project/linux-arm-kernel/cover/20220812074609.53131-1-peng.fan@oss.nxp.com/
Peng Fan (8):
dt-bindings: mfd: syscon: Add i.MX93 blk ctrl system registers
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
.../devicetree/bindings/mfd/syscon.yaml | 2 +
arch/arm64/boot/dts/freescale/imx93.dtsi | 161 +++++++++++++++++-
2 files changed, 157 insertions(+), 6 deletions(-)
--
2.37.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH V4 1/8] dt-bindings: mfd: syscon: Add i.MX93 blk ctrl system registers
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
@ 2022-09-05 5:59 ` Peng Fan (OSS)
2022-09-07 12:14 ` Krzysztof Kozlowski
2022-09-05 5:59 ` [PATCH V4 2/8] arm64: dts: imx93: correct SDHC clk entry Peng Fan (OSS)
` (7 subsequent siblings)
8 siblings, 1 reply; 11+ messages in thread
From: Peng Fan (OSS) @ 2022-09-05 5:59 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, devicetree,
linux-arm-kernel, linux-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Document i.MX93 BLK CTRL system registers.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Documentation/devicetree/bindings/mfd/syscon.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 4639112160f3..3c9732796832 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -40,6 +40,8 @@ properties:
- allwinner,sun50i-a64-system-controller
- brcm,cru-clkset
- freecom,fsg-cs2-system-controller
+ - fsl,imx93-aonmix-ns-syscfg
+ - fsl,imx93-wakeupmix-syscfg
- hisilicon,dsa-subctrl
- hisilicon,hi6220-sramctrl
- hisilicon,pcie-sas-subctrl
--
2.37.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH V4 2/8] arm64: dts: imx93: correct SDHC clk entry
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 1/8] dt-bindings: mfd: syscon: Add i.MX93 blk ctrl system registers Peng Fan (OSS)
@ 2022-09-05 5:59 ` Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 3/8] arm64: dts: imx93: add gpio clk Peng Fan (OSS)
` (6 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Peng Fan (OSS) @ 2022-09-05 5:59 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, 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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH V4 3/8] arm64: dts: imx93: add gpio clk
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 1/8] dt-bindings: mfd: syscon: Add i.MX93 blk ctrl system registers Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 2/8] arm64: dts: imx93: correct SDHC clk entry Peng Fan (OSS)
@ 2022-09-05 5:59 ` Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 4/8] arm64: dts: imx93: add s4 mu node Peng Fan (OSS)
` (5 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Peng Fan (OSS) @ 2022-09-05 5:59 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, 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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH V4 4/8] arm64: dts: imx93: add s4 mu node
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (2 preceding siblings ...)
2022-09-05 5:59 ` [PATCH V4 3/8] arm64: dts: imx93: add gpio clk Peng Fan (OSS)
@ 2022-09-05 5:59 ` Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 5/8] arm64: dts: imx93: add blk ctrl node Peng Fan (OSS)
` (4 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Peng Fan (OSS) @ 2022-09-05 5:59 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, devicetree,
linux-arm-kernel, linux-kernel, Peng Fan
From: Peng Fan <peng.fan@nxp.com>
Add s4 mu node for sentinel communication
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx93.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 26d5ce4a5f2c..bb9e96ffb70a 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -342,5 +342,14 @@ 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>;
+ };
};
};
--
2.37.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH V4 5/8] arm64: dts: imx93: add blk ctrl node
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (3 preceding siblings ...)
2022-09-05 5:59 ` [PATCH V4 4/8] arm64: dts: imx93: add s4 mu node Peng Fan (OSS)
@ 2022-09-05 5:59 ` Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 6/8] arm64: dts: imx93: add a55 pmu Peng Fan (OSS)
` (3 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Peng Fan (OSS) @ 2022-09-05 5:59 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, 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 bb9e96ffb70a..93f96067456e 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: syscon@44210000 {
+ compatible = "fsl,imx93-aonmix-ns-syscfg", "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: syscon@42420000 {
+ compatible = "fsl,imx93-wakeupmix-syscfg", "syscon";
+ reg = <0x42420000 0x1000>;
+ };
+
mu2: mailbox@42440000 {
compatible = "fsl,imx93-mu", "fsl,imx8ulp-mu";
reg = <0x42440000 0x10000>;
--
2.37.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH V4 6/8] arm64: dts: imx93: add a55 pmu
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (4 preceding siblings ...)
2022-09-05 5:59 ` [PATCH V4 5/8] arm64: dts: imx93: add blk ctrl node Peng Fan (OSS)
@ 2022-09-05 5:59 ` Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 7/8] arm64: dts: imx93: add lpi2c nodes Peng Fan (OSS)
` (2 subsequent siblings)
8 siblings, 0 replies; 11+ messages in thread
From: Peng Fan (OSS) @ 2022-09-05 5:59 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, 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 93f96067456e..9f6e8a386071 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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH V4 7/8] arm64: dts: imx93: add lpi2c nodes
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (5 preceding siblings ...)
2022-09-05 5:59 ` [PATCH V4 6/8] arm64: dts: imx93: add a55 pmu Peng Fan (OSS)
@ 2022-09-05 5:59 ` Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 8/8] arm64: dts: imx93: add lpspi nodes Peng Fan (OSS)
2022-09-12 9:19 ` [PATCH V4 0/8] arm64: dts: imx93: add several nodes Shawn Guo
8 siblings, 0 replies; 11+ messages in thread
From: Peng Fan (OSS) @ 2022-09-05 5:59 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, 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>
---
binding doc accepeted:
https://lore.kernel.org/all/Yw3hfcQ2JV248GIo@shikoro/
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 9f6e8a386071..1a5a6c51aec4 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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH V4 8/8] arm64: dts: imx93: add lpspi nodes
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (6 preceding siblings ...)
2022-09-05 5:59 ` [PATCH V4 7/8] arm64: dts: imx93: add lpi2c nodes Peng Fan (OSS)
@ 2022-09-05 5:59 ` Peng Fan (OSS)
2022-09-12 9:19 ` [PATCH V4 0/8] arm64: dts: imx93: add several nodes Shawn Guo
8 siblings, 0 replies; 11+ messages in thread
From: Peng Fan (OSS) @ 2022-09-05 5:59 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, 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 1a5a6c51aec4..b3d82b13b524 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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH V4 1/8] dt-bindings: mfd: syscon: Add i.MX93 blk ctrl system registers
2022-09-05 5:59 ` [PATCH V4 1/8] dt-bindings: mfd: syscon: Add i.MX93 blk ctrl system registers Peng Fan (OSS)
@ 2022-09-07 12:14 ` Krzysztof Kozlowski
0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2022-09-07 12:14 UTC (permalink / raw)
To: Peng Fan (OSS), robh+dt, krzysztof.kozlowski+dt, shawnguo, s.hauer
Cc: kernel, festevam, linux-imx, aisheng.dong, devicetree,
linux-arm-kernel, linux-kernel, Peng Fan
On 05/09/2022 07:59, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> Document i.MX93 BLK CTRL system registers.
>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH V4 0/8] arm64: dts: imx93: add several nodes
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
` (7 preceding siblings ...)
2022-09-05 5:59 ` [PATCH V4 8/8] arm64: dts: imx93: add lpspi nodes Peng Fan (OSS)
@ 2022-09-12 9:19 ` Shawn Guo
8 siblings, 0 replies; 11+ messages in thread
From: Shawn Guo @ 2022-09-12 9:19 UTC (permalink / raw)
To: Peng Fan (OSS)
Cc: robh+dt, krzysztof.kozlowski+dt, s.hauer, kernel, festevam,
linux-imx, aisheng.dong, devicetree, linux-arm-kernel,
linux-kernel, Peng Fan
On Mon, Sep 05, 2022 at 01:59:07PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> V4:
> Per Rob's comment, use syscon.yaml for i.MX93 aonmix/wakeupmix blk ctrl.
> Drop status okay in s4mu node in patch 4 per Shawn's comment.
>
> V3:
> Address DT maintainer's comments in patch 1
>
> V2:
> Add binding doc for aonmix/wakeupmix blk ctrl
> Update compatible in patch 5 according to binding doc
> The lpi2c binding doc has been accepted:
> https://lore.kernel.org/all/Yw3hfcQ2JV248GIo@shikoro/
>
> V1:
> Add S4MU, BLK CTRL, PMU, LPI2C, LPSPI nodes.
> Add GPIO clk entry.
> Correct SDHC clk entry
> https://patchwork.kernel.org/project/linux-arm-kernel/cover/20220812074609.53131-1-peng.fan@oss.nxp.com/
>
> Peng Fan (8):
> dt-bindings: mfd: syscon: Add i.MX93 blk ctrl system registers
> 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
Applied all, thanks!
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-09-12 9:21 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05 5:59 [PATCH V4 0/8] arm64: dts: imx93: add several nodes Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 1/8] dt-bindings: mfd: syscon: Add i.MX93 blk ctrl system registers Peng Fan (OSS)
2022-09-07 12:14 ` Krzysztof Kozlowski
2022-09-05 5:59 ` [PATCH V4 2/8] arm64: dts: imx93: correct SDHC clk entry Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 3/8] arm64: dts: imx93: add gpio clk Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 4/8] arm64: dts: imx93: add s4 mu node Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 5/8] arm64: dts: imx93: add blk ctrl node Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 6/8] arm64: dts: imx93: add a55 pmu Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 7/8] arm64: dts: imx93: add lpi2c nodes Peng Fan (OSS)
2022-09-05 5:59 ` [PATCH V4 8/8] arm64: dts: imx93: add lpspi nodes Peng Fan (OSS)
2022-09-12 9:19 ` [PATCH V4 0/8] arm64: dts: imx93: add several nodes Shawn Guo
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).