* [PATCH 2/3] arm64: dts: airoha: en7581: Add SNAND node
2025-01-05 15:03 [PATCH 1/3] arm64: dts: airoha: en7581: Add Clock Controller node Christian Marangi
@ 2025-01-05 15:03 ` Christian Marangi
2025-01-09 11:25 ` AngeloGioacchino Del Regno
2025-01-05 15:03 ` [PATCH 3/3] arm64: dts: airoha: en7581: Add default partition table for EVB board Christian Marangi
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Christian Marangi @ 2025-01-05 15:03 UTC (permalink / raw)
To: Matthias Brugger, AngeloGioacchino Del Regno, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Christian Marangi,
Daniel Danzberger, Lorenzo Bianconi, linux-arm-kernel,
linux-mediatek, devicetree, linux-kernel, upstream
Add SNAND node to enable support of attached SPI-NAND on the EN7581 SoC.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
arch/arm64/boot/dts/airoha/en7581.dtsi | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/dts/airoha/en7581.dtsi
index f584409e72cd..dbd296b049f9 100644
--- a/arch/arm64/boot/dts/airoha/en7581.dtsi
+++ b/arch/arm64/boot/dts/airoha/en7581.dtsi
@@ -143,6 +143,29 @@ gic: interrupt-controller@9000000 {
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>;
};
+ spi@1fa10000 {
+ compatible = "airoha,en7581-snand";
+ reg = <0x0 0x1fa10000 0x0 0x140>,
+ <0x0 0x1fa11000 0x0 0x160>;
+
+ clocks = <&scuclk EN7523_CLK_SPI>;
+ clock-names = "spi";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ status = "disabled";
+
+ spi_nand: nand@0 {
+ compatible = "spi-nand";
+ reg = <0>;
+
+ spi-max-frequency = <50000000>;
+ spi-tx-bus-width = <1>;
+ spi-rx-bus-width = <2>;
+ };
+ };
+
scuclk: clock-controller@1fa20000 {
compatible = "airoha,en7581-scu";
reg = <0x0 0x1fb00000 0x0 0x970>;
--
2.45.2
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 2/3] arm64: dts: airoha: en7581: Add SNAND node
2025-01-05 15:03 ` [PATCH 2/3] arm64: dts: airoha: en7581: Add SNAND node Christian Marangi
@ 2025-01-09 11:25 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 7+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-01-09 11:25 UTC (permalink / raw)
To: Christian Marangi, Matthias Brugger, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Daniel Danzberger,
Lorenzo Bianconi, linux-arm-kernel, linux-mediatek, devicetree,
linux-kernel, upstream
Il 05/01/25 16:03, Christian Marangi ha scritto:
> Add SNAND node to enable support of attached SPI-NAND on the EN7581 SoC.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/3] arm64: dts: airoha: en7581: Add default partition table for EVB board
2025-01-05 15:03 [PATCH 1/3] arm64: dts: airoha: en7581: Add Clock Controller node Christian Marangi
2025-01-05 15:03 ` [PATCH 2/3] arm64: dts: airoha: en7581: Add SNAND node Christian Marangi
@ 2025-01-05 15:03 ` Christian Marangi
2025-01-09 11:25 ` AngeloGioacchino Del Regno
2025-01-09 11:25 ` [PATCH 1/3] arm64: dts: airoha: en7581: Add Clock Controller node AngeloGioacchino Del Regno
2025-02-06 11:08 ` AngeloGioacchino Del Regno
3 siblings, 1 reply; 7+ messages in thread
From: Christian Marangi @ 2025-01-05 15:03 UTC (permalink / raw)
To: Matthias Brugger, AngeloGioacchino Del Regno, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Christian Marangi,
Daniel Danzberger, Lorenzo Bianconi, linux-arm-kernel,
linux-mediatek, devicetree, linux-kernel, upstream
Add default partition table for EN7581 SoC EVB board.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
arch/arm64/boot/dts/airoha/en7581-evb.dts | 40 +++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/arch/arm64/boot/dts/airoha/en7581-evb.dts b/arch/arm64/boot/dts/airoha/en7581-evb.dts
index cf58e43dd5b2..a4cdcadd1ae5 100644
--- a/arch/arm64/boot/dts/airoha/en7581-evb.dts
+++ b/arch/arm64/boot/dts/airoha/en7581-evb.dts
@@ -24,3 +24,43 @@ memory@80000000 {
reg = <0x0 0x80000000 0x2 0x00000000>;
};
};
+
+&spi_nand {
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ bootloader@0 {
+ label = "bootloader";
+ reg = <0x00000000 0x00080000>;
+ read-only;
+ };
+
+ art@200000 {
+ label = "art";
+ reg = <0x00200000 0x00400000>;
+ };
+
+ tclinux@600000 {
+ label = "tclinux";
+ reg = <0x00600000 0x03200000>;
+ };
+
+ tclinux_slave@3800000 {
+ label = "tclinux_alt";
+ reg = <0x03800000 0x03200000>;
+ };
+
+ rootfs_data@6a00000 {
+ label = "rootfs_data";
+ reg = <0x06a00000 0x01400000>;
+ };
+
+ reserved_bmt@7e00000 {
+ label = "reserved_bmt";
+ reg = <0x07e00000 0x00200000>;
+ read-only;
+ };
+ };
+};
--
2.45.2
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 3/3] arm64: dts: airoha: en7581: Add default partition table for EVB board
2025-01-05 15:03 ` [PATCH 3/3] arm64: dts: airoha: en7581: Add default partition table for EVB board Christian Marangi
@ 2025-01-09 11:25 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 7+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-01-09 11:25 UTC (permalink / raw)
To: Christian Marangi, Matthias Brugger, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Daniel Danzberger,
Lorenzo Bianconi, linux-arm-kernel, linux-mediatek, devicetree,
linux-kernel, upstream
Il 05/01/25 16:03, Christian Marangi ha scritto:
> Add default partition table for EN7581 SoC EVB board.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] arm64: dts: airoha: en7581: Add Clock Controller node
2025-01-05 15:03 [PATCH 1/3] arm64: dts: airoha: en7581: Add Clock Controller node Christian Marangi
2025-01-05 15:03 ` [PATCH 2/3] arm64: dts: airoha: en7581: Add SNAND node Christian Marangi
2025-01-05 15:03 ` [PATCH 3/3] arm64: dts: airoha: en7581: Add default partition table for EVB board Christian Marangi
@ 2025-01-09 11:25 ` AngeloGioacchino Del Regno
2025-02-06 11:08 ` AngeloGioacchino Del Regno
3 siblings, 0 replies; 7+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-01-09 11:25 UTC (permalink / raw)
To: Christian Marangi, Matthias Brugger, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Daniel Danzberger,
Lorenzo Bianconi, linux-arm-kernel, linux-mediatek, devicetree,
linux-kernel, upstream
Il 05/01/25 16:03, Christian Marangi ha scritto:
> Add Clock Controller node for EN7581 SoC to correctly expose supported
> clock for any user in the SoC.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] arm64: dts: airoha: en7581: Add Clock Controller node
2025-01-05 15:03 [PATCH 1/3] arm64: dts: airoha: en7581: Add Clock Controller node Christian Marangi
` (2 preceding siblings ...)
2025-01-09 11:25 ` [PATCH 1/3] arm64: dts: airoha: en7581: Add Clock Controller node AngeloGioacchino Del Regno
@ 2025-02-06 11:08 ` AngeloGioacchino Del Regno
3 siblings, 0 replies; 7+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-02-06 11:08 UTC (permalink / raw)
To: Matthias Brugger, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Daniel Danzberger, Lorenzo Bianconi, linux-arm-kernel,
linux-mediatek, devicetree, linux-kernel, upstream,
Christian Marangi
On Sun, 05 Jan 2025 16:03:02 +0100, Christian Marangi wrote:
> Add Clock Controller node for EN7581 SoC to correctly expose supported
> clock for any user in the SoC.
>
>
Applied to v6.14-next/dts64, thanks!
[1/3] arm64: dts: airoha: en7581: Add Clock Controller node
commit: 7693017580e9be839fa5f27130bb6500f3597595
[2/3] arm64: dts: airoha: en7581: Add SNAND node
commit: 8e2e6908a8919a8608866626e5b3bcf242f90b38
[3/3] arm64: dts: airoha: en7581: Add default partition table for EVB board
commit: 34833a6f17f6ea99fa9d7788d93221f610061d23
Cheers,
Angelo
^ permalink raw reply [flat|nested] 7+ messages in thread