Commit 7bb9b9e3 authored by David Jander's avatar David Jander Committed by Shawn Guo
Browse files

ARM: dts: imx6qdl-victgo: add CAN termination support



The gpio1 0 pin is controlling CAN termination, not USB H1 VBUS. So,
remove wrong regulator and assign this gpio to new DT CAN termination
property.

Signed-off-by: default avatarDavid Jander <david@protonic.nl>
Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent e310ba3c
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -160,15 +160,6 @@
		regulator-max-microvolt = <3300000>;
	};

	reg_h1_vbus: regulator-h1-vbus {
		compatible = "regulator-fixed";
		regulator-name = "h1-vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};

	reg_otg_vbus: regulator-otg-vbus {
		compatible = "regulator-fixed";
		regulator-name = "otg-vbus";
@@ -312,6 +303,8 @@
&can1 {
	pinctrl-names = "default";
	pinctrl-0 = <&pinctrl_can1>;
	termination-gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
	termination-ohms = <150>;
	status = "okay";
};

@@ -648,7 +641,6 @@
};

&usbh1 {
	vbus-supply = <&reg_h1_vbus>;
	pinctrl-names = "default";
	phy_type = "utmi";
	dr_mode = "host";