Skip to content

Commit

Permalink
dts: r3mini: change regulator to pinctrl as regulator is not probed
Browse files Browse the repository at this point in the history
also not with phy-supply property
  • Loading branch information
frank-w committed Jun 9, 2024
1 parent a2375b5 commit 83c0253
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions arch/arm/dts/mt7986a-bpi-r3-mini.dts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
regulator-always-on;
};

en8811_a: regulator-phy1 {
/*en8811_a: regulator-phy1 {
compatible = "regulator-fixed";
regulator-name = "phy1";
regulator-min-microvolt = <3300000>;
Expand All @@ -77,7 +77,8 @@
enable-active-low;
regulator-boot-on;
regulator-always-on;
};
bootph-all;
};*/

/*en8811_b: regulator-phy2 {
compatible = "regulator-fixed";
Expand All @@ -103,7 +104,9 @@
phy14: eth-phy@14 {
compatible = "ethernet-phy-id03a2.a411";
reg = <14>;

//phy-supply = <&en8811_a>;
pinctrl-names = "default";
pinctrl-0 = <&en8811_pwr_a>;
airoha,rx-pol-reverse;

reset-gpios = <&gpio 49 GPIO_ACTIVE_LOW>;
Expand All @@ -115,6 +118,9 @@
compatible = "ethernet-phy-id03a2.a411";
reg = <15>;

//phy-supply = <&en8811_b>;
pinctrl-names = "default";
pinctrl-0 = <&en8811_pwr_b>;
airoha,rx-pol-reverse;

reset-gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
Expand All @@ -137,7 +143,7 @@
};

&pinctrl {
/*en8811_pwr_a: en8811-pwr-a {
en8811_pwr_a: en8811-pwr-a {
pins = "GPIO_11";
drive-strength = <MTK_DRIVE_8mA>;
bias-pull-down = <MTK_PUPD_SET_R1R0_11>;
Expand All @@ -149,7 +155,7 @@
drive-strength = <MTK_DRIVE_8mA>;
bias-pull-down = <MTK_PUPD_SET_R1R0_11>;
output-low;
};*/
};

mdio_pins: mdio-pins {
mux {
Expand Down

0 comments on commit 83c0253

Please sign in to comment.