]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
riscv: dts: starfive: jh7110-common: move usb0 config to board dts
authorGuodong Xu <guodong@riscstar.com>
Mon, 28 Oct 2024 08:25:50 +0000 (16:25 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Thu, 31 Oct 2024 12:22:53 +0000 (12:22 +0000)
commit817eac165ed487fc70de2facb1c588dcf29c3711
treea27d413fa3c1c7666da5aef492798cc3f099181f
parent5a5001d27065126d815eb54e12744b08322e3d31
riscv: dts: starfive: jh7110-common: move usb0 config to board dts

The JH7110 USB0 can operate as a dual-role USB device.  Different
boards can have different configuration.

For all current boards this device operates in peripheral mode, but
on a new board this operates in host mode.  This property will no
longer be common, so define the "dr_mode" property in the board files
rather than in the common DTSI file.

Signed-off-by: Alex Elder <elder@riscstar.com>
Signed-off-by: Guodong Xu <guodong@riscstar.com>
Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/starfive/jh7110-common.dtsi
arch/riscv/boot/dts/starfive/jh7110-milkv-mars.dts
arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dts
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi