riscv: dts: allwinner: Add MangoPi MQ devicetree
authorSamuel Holland <samuel@sholland.org>
Thu, 26 Jan 2023 04:57:32 +0000 (22:57 -0600)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Fri, 27 Jan 2023 22:01:32 +0000 (23:01 +0100)
commit2a93adfb09e5075ddee3ab7b6f779b3b74739874
tree5ff8d39902d7a03777730f28b761400e9cc03548
parent077e5f4f5528777ab72f4dc336569207504dc876
riscv: dts: allwinner: Add MangoPi MQ devicetree

The MangoPi MQ is a tiny SBC built around the Allwinner D1s. Its
onboard peripherals include two USB Type-C ports (1 device, 1 host)
and RTL8189FTV WLAN.

A MangoPi MQ-R variant of the board also exists. The MQ-R has a
different form factor, but the onboard peripherals are the same.

Most D1 and D1s boards use a similar power tree, with the 1.8V rail
powered by the SoC's internal LDOA, analog domains powered by ALDO,
and the rest of the board powered by always-on fixed regulators. To
avoid duplication, factor out the regulator information that is
common across boards.

The board also exposes GPIO Port E via a FPC connector, which can
support either a camera or an RMII Ethernet PHY. The additional
regulators supply that connector.

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230126045738.47903-6-samuel@sholland.org
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
arch/riscv/boot/dts/Makefile
arch/riscv/boot/dts/allwinner/Makefile [new file with mode: 0644]
arch/riscv/boot/dts/allwinner/sun20i-common-regulators.dtsi [new file with mode: 0644]
arch/riscv/boot/dts/allwinner/sun20i-d1s-mangopi-mq.dts [new file with mode: 0644]