On 22/02/2023 12:50, Alexey Romanov wrote:
Hello! This patchset adds support for 32-bit Meson A1 board.
Hi Alexev, I'm aware Amlogic also runs their kernel as 32bit to gain a few kbytes of memory, but those processors are ARMv8 and the arm64 arch code has been designed for those CPUs. So far I didn't find a single good reason to add 32bit support for ARMv8 Amlogic based SoCs, if you have a solid reason please share. And as Krzysztof stated, the support is incomplete and cannot work without a dts file. Neil
We describe device tree with following components: CPU, GIC, IRQ, Timer, UART, PIN controller. It's capable of booting up into the serial console. We have tested this DTS and used drivers at our 32-bit Meson A1 board and it works correctly. Alexey Romanov (3): meson: pinctrl: use CONFIG_PINCTRL_A1 with CONFIG_ARM firmware: meson: use CONFIG_MESON_SM with CONFIG_ARM arch/arm: dts: introduce meson-a1 device tree arch/arm/boot/dts/meson-a1.dtsi | 151 ++++++++++++++++++++++++++++++++ drivers/firmware/meson/Kconfig | 2 +- drivers/pinctrl/meson/Kconfig | 2 +- 3 files changed, 153 insertions(+), 2 deletions(-) create mode 100644 arch/arm/boot/dts/meson-a1.dtsi