arm64: Add support for Airoha EN7581 Soc
Subsystems (5)
v4 cover arm64: Add support for Airoha EN7581 Soc
Introduce basic support for Airoha EN7581 Soc and EN7581 Evaluation Board.
Changes since v3:
- remove unnecessary entries in Kconfig ARCH_AIROHA section
- cosmetics
Changes since v2:
- fix cpu-map definition
- add more cache info
- add missing soc node
- remove unnecessary definitions
Changes since v1:
- add missing en7581 entry in airoha binding
- fix checkpatch errors
Daniel Danzberger (3):
arm64: dts: Add Airoha EN7581 SoC and EN7581 Evaluation Board
arm64: add Airoha EN7581 platform
arm64: defconfig: enable Airoha platform
Lorenzo Bianconi (1):
dt-bindings: arm64: dts: airoha: Add en7581 entry
.../devicetree/bindings/arm/airoha.yaml | 4 + arch/arm64/Kconfig.platforms | 7 + arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/airoha/Makefile | 2 + arch/arm64/boot/dts/airoha/en7581-evb.dts | 26 +++ arch/arm64/boot/dts/airoha/en7581.dtsi | 154 ++++++++++++++++++ arch/arm64/configs/defconfig | 1 + 7 files changed, 195 insertions(+) create mode 100644 arch/arm64/boot/dts/airoha/Makefile create mode 100644 arch/arm64/boot/dts/airoha/en7581-evb.dts create mode 100644 arch/arm64/boot/dts/airoha/en7581.dtsi
Signature · 1 line
2.44.0
PATCH v4 1/4 dt-bindings: arm64: dts: airoha: Add en7581 entry
Introduce Airoha EN7581 entry in Airoha dts binding.
--- Documentation/devicetree/bindings/arm/airoha.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/arm/airoha.yaml +4 -0
@@ -22,6 +22,10 @@ properties: - enum: - airoha,en7523-evb - const: airoha,en7523 + - items: + - enum: + - airoha,en7581-evb + - const: airoha,en7581 additionalProperties: true
Signature · 1 line
2.44.0
PATCH v4 2/4 arm64: dts: Add Airoha EN7581 SoC and EN7581 Evaluation Board
In reply to Lorenzo BianconiFrom: Daniel Danzberger <[email protected]>
Introduce the Airoha EN7581 SoC's dtsi and the Airoha EN7581 Evaluation Board's dts file, as well as the required Makefiles.
--- arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/airoha/Makefile | 2 + arch/arm64/boot/dts/airoha/en7581-evb.dts | 26 ++++ arch/arm64/boot/dts/airoha/en7581.dtsi | 154 ++++++++++++++++++++++ 4 files changed, 183 insertions(+) create mode 100644 arch/arm64/boot/dts/airoha/Makefile create mode 100644 arch/arm64/boot/dts/airoha/en7581-evb.dts create mode 100644 arch/arm64/boot/dts/airoha/en7581.dtsi
arch/arm64/boot/dts/Makefile +1 -0
@@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 subdir-y += actions +subdir-y += airoha subdir-y += allwinner subdir-y += altera subdir-y += amazon
arch/arm64/boot/dts/airoha/Makefile new file +2 -0
@@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0-only +dtb-$(CONFIG_ARCH_AIROHA) += en7581-evb.dtb
arch/arm64/boot/dts/airoha/en7581-evb.dts new file +26 -0
@@ -0,0 +1,26 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/dts-v1/; + +/* Bootloader installs ATF here */ +/memreserve/ 0x80000000 0x200000; + +#include "en7581.dtsi" + +/ { + model = "Airoha EN7581 Evaluation Board"; + compatible = "airoha,en7581-evb", "airoha,en7581"; + + aliases { + serial0 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + linux,usable-memory-range = <0x0 0x80200000 0x0 0x1fe00000>; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x2 0x00000000>; + }; +};
arch/arm64/boot/dts/airoha/en7581.dtsi new file +154 -0
154 lines not on this page · raw message
Signature · 1 line
2.44.0
PATCH v4 3/4 arm64: add Airoha EN7581 platform
In reply to Lorenzo BianconiFrom: Daniel Danzberger <[email protected]>
Introduce the Kconfig entry for the Airoha EN7581 multicore architecture available in the Airoha EN7581 evaluation board.
--- arch/arm64/Kconfig.platforms | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/Kconfig.platforms +7 -0
@@ -8,6 +8,13 @@ config ARCH_ACTIONS help This enables support for the Actions Semiconductor S900 SoC family. +config ARCH_AIROHA + bool "Airoha SoC Support" + select ARM_PSCI + select HAVE_ARM_ARCH_TIMER + help + This enables support for the ARM64 based Airoha SoCs. + config ARCH_SUNXI bool "Allwinner sunxi 64-bit SoC Family" select ARCH_HAS_RESET_CONTROLLER
Signature · 1 line
2.44.0
PATCH v4 4/4 arm64: defconfig: enable Airoha platform
In reply to Lorenzo BianconiFrom: Daniel Danzberger <[email protected]>
Enables the ARCH_AIROHA config by default.
--- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
@@ -34,6 +34,7 @@ CONFIG_KEXEC=y CONFIG_KEXEC_FILE=y CONFIG_CRASH_DUMP=y CONFIG_ARCH_ACTIONS=y +CONFIG_ARCH_AIROHA=y CONFIG_ARCH_SUNXI=y CONFIG_ARCH_ALPINE=y CONFIG_ARCH_APPLE=y
Signature · 1 line
2.44.0
Quoted 6 lines · Lorenzo Bianconi
Introduce basic support for Airoha EN7581 Soc and EN7581 Evaluation Board.
Changes since v3:
- remove unnecessary entries inKconfigARCH_AIROHAsection
- cosmetics
Quoted 7 lines
Changes since v2:
- fix cpu-map definition
- add more cache info
- add missing soc node
- remove unnecessary definitions[...]
Applied to v6.9-next/dts64, thanks!
[1/4] dt-bindings: arm64: dts: airoha: Add en7581 entry
commit: 82aefd8f1f1e73f95523a8eebf3d52719a946120
[2/4] arm64: dts: Add Airoha EN7581 SoC and EN7581 Evaluation Board
commit: a8ffe7cfce40c20a2508c474e49bfd9f29d0e253
[3/4] arm64: add Airoha EN7581 platform
commit: 91ed3fc5e3a3b33ce73374715f3be97367caf402
[4/4] arm64: defconfig: enable Airoha platform
commit: e9340b4423db78a31ed156a92af9eb2fd7df9456Cheers,
Angelo