Commit 0522cd81 authored by Chukun Pan's avatar Chukun Pan Committed by Heiko Stuebner
Browse files

arm64: dts: rockchip: Add PCIe v3 nodes to rock-3a



Add Nodes to Radxa ROCK3 Model A board to support PCIe v3.

Tested-by: default avatarAnand Moon <linux.amoon@gmail.com>
Signed-off-by: default avatarChukun Pan <amadeus@jmu.edu.cn>
Link: https://lore.kernel.org/r/20221006152524.502445-3-amadeus@jmu.edu.cn


Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 49665ab0
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
@@ -67,6 +67,37 @@ vcc12v_dcin: vcc12v-dcin-regulator {
		regulator-boot-on;
	};

	pcie30_avdd0v9: pcie30-avdd0v9-regulator {
		compatible = "regulator-fixed";
		regulator-name = "pcie30_avdd0v9";
		regulator-always-on;
		regulator-boot-on;
		regulator-min-microvolt = <900000>;
		regulator-max-microvolt = <900000>;
		vin-supply = <&vcc3v3_sys>;
	};

	pcie30_avdd1v8: pcie30-avdd1v8-regulator {
		compatible = "regulator-fixed";
		regulator-name = "pcie30_avdd1v8";
		regulator-always-on;
		regulator-boot-on;
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		vin-supply = <&vcc3v3_sys>;
	};

	/* pi6c pcie clock generator */
	vcc3v3_pi6c_03: vcc3v3-pi6c-03-regulator {
		compatible = "regulator-fixed";
		regulator-name = "vcc3v3_pi6c_03";
		regulator-always-on;
		regulator-boot-on;
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		vin-supply = <&vcc5v0_sys>;
	};

	vcc3v3_pcie: vcc3v3-pcie-regulator {
		compatible = "regulator-fixed";
		enable-active-high;
@@ -546,6 +577,19 @@ &pcie2x1 {
	status = "okay";
};

&pcie30phy {
	phy-supply = <&vcc3v3_pi6c_03>;
	status = "okay";
};

&pcie3x2 {
	pinctrl-names = "default";
	pinctrl-0 = <&pcie30x2m1_pins>;
	reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
	vpcie3v3-supply = <&vcc3v3_pcie>;
	status = "okay";
};

&pinctrl {
	cam {
		vcc_cam_en: vcc_cam_en {