This patch adds OF graph properties for usb role switch. TODO: - Each node should be in salvator-common.dtsi. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> --- .../arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts index 8b50ceb..c815fca 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts @@ -36,6 +36,24 @@ device_type = "memory"; reg = <0x7 0x00000000 0x0 0x40000000>; }; + + /* TODO: should be into salvator-common.dtsi */ + usb3 { + compatible = "usb-a-connector"; + label = "USB3_0"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@1 { + reg = <1>; + usb3_connector0: endpoint { + remote-endpoint = <&usb3_role_sw0_ep>; + }; + }; + }; + }; }; &du { @@ -107,3 +125,13 @@ status = "okay"; }; + + &usb3_role_sw0 { + ports { + port@3 { + usb3_role_sw0_ep: endpoint { + remote-endpoint = <&usb3_connector0>; + }; + }; + }; + }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html