/* Based on commit 8f64d6bcf306fa5b5de66fdee2458cb584a78b2e by Sebastian Reichel */ /dts-v1/; /plugin/; #include #include #include / { compatible = "radxa,rock-5b"; vcc12v_dcin: vcc12v-dcin-regulator { compatible = "regulator-fixed"; regulator-name = "vcc12v_dcin"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; }; }; &vcc3v3_pcie2x1l0 { vin-supply = <&vcc12v_dcin>; }; &i2c4 { pinctrl-names = "default"; pinctrl-0 = <&i2c4m1_xfer>; status = "okay"; usbc0: usb-typec@22 { compatible = "fcs,fusb302"; reg = <0x22>; interrupt-parent = <&gpio3>; interrupts = ; pinctrl-names = "default"; pinctrl-0 = <&usbc0_int>; vbus-supply = <&vcc12v_dcin>; status = "okay"; usb_con: connector { compatible = "usb-c-connector"; label = "USB-C"; power-role = "sink"; try-power-role = "sink"; op-sink-microwatt = <1000000>; sink-pdos = , ; }; }; }; &pinctrl { usb { usbc0_int: usbc0-int { rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>; }; }; };