ipq806x: dts: fix 6.12 kernel pinmux conflicts
Some pinmux nodes in the qcom-ipq8064.dtsi have been changed[1]. Adjust our local devices dts to solve the conflicts. [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=de52c020e1a9c3313d88405a4545020b1f5ab24d Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/18989 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
7d2fd7d590
commit
6bc9ebc31d
@ -25,7 +25,7 @@
|
||||
keys {
|
||||
compatible = "gpio-keys";
|
||||
|
||||
pinctrl-0 = <&buttons_pins>;
|
||||
pinctrl-0 = <&button_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
reset {
|
||||
@ -66,7 +66,7 @@
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
|
||||
pinctrl-0 = <&leds_pins>;
|
||||
pinctrl-0 = <&led_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
led_power_green: power_green {
|
||||
@ -135,7 +135,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
/* nand_pins are used for leds_pins, empty the node
|
||||
/* nand_pins are used for led_pins, empty the node
|
||||
* from ipq8064.dtsi
|
||||
*/
|
||||
&nand_pins {
|
||||
@ -148,7 +148,12 @@
|
||||
pinctrl-0 = <&akro_pins>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
@ -171,7 +176,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
buttons_pins: buttons_pins {
|
||||
button_pins: button_pins {
|
||||
mux {
|
||||
pins = "gpio22", "gpio24", "gpio40",
|
||||
"gpio41";
|
||||
@ -181,7 +186,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
leds_pins: leds_pins {
|
||||
led_pins: led_pins {
|
||||
mux {
|
||||
pins = "gpio14", "gpio15", "gpio35",
|
||||
"gpio36", "gpio38", "gpio42",
|
||||
|
||||
@ -28,7 +28,12 @@
|
||||
};
|
||||
|
||||
&qcom_pinmux {
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -25,14 +25,12 @@
|
||||
};
|
||||
|
||||
&qcom_pinmux {
|
||||
rgmii2_pins: rgmii2-pins {
|
||||
mux {
|
||||
pins = "gpio27", "gpio28", "gpio29",
|
||||
"gpio30", "gpio31", "gpio32",
|
||||
"gpio51", "gpio52", "gpio59",
|
||||
"gpio60", "gpio61", "gpio62",
|
||||
"gpio2", "gpio66";
|
||||
};
|
||||
rgmii2_pins: rgmii2-state {
|
||||
pins = "gpio27", "gpio28", "gpio29",
|
||||
"gpio30", "gpio31", "gpio32",
|
||||
"gpio51", "gpio52", "gpio59",
|
||||
"gpio60", "gpio61", "gpio62",
|
||||
"gpio2", "gpio66";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@ -116,8 +116,23 @@
|
||||
};
|
||||
};
|
||||
|
||||
rgmii2_pins: rgmii2-pins {
|
||||
mux {
|
||||
rgmii2_pins: rgmii2-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux-1 {
|
||||
pins = "gpio27", "gpio28", "gpio29",
|
||||
"gpio30", "gpio31", "gpio32",
|
||||
"gpio51", "gpio52", "gpio59",
|
||||
"gpio60", "gpio61", "gpio62";
|
||||
function = "rgmii2";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
mux-2 {
|
||||
bias-disable;
|
||||
drive-strength = <16>;
|
||||
function = "rgmii2";
|
||||
@ -125,7 +140,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -271,7 +271,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -71,7 +71,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -144,7 +144,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -516,7 +516,12 @@ switch@10 {
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -528,7 +528,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -586,7 +586,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -102,7 +102,12 @@
|
||||
};
|
||||
|
||||
&qcom_pinmux {
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -110,21 +110,60 @@
|
||||
};
|
||||
};
|
||||
|
||||
mdio0_pins: mdio0-pins {
|
||||
mdio0_pins: mdio0-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio0", "gpio1";
|
||||
function = "mdio";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
clk {
|
||||
pins = "gpio1";
|
||||
input-disable;
|
||||
};
|
||||
};
|
||||
|
||||
rgmii2_pins: rgmii2-pins {
|
||||
rgmii2_pins: rgmii2-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio27", "gpio28", "gpio29",
|
||||
"gpio30", "gpio31", "gpio32",
|
||||
"gpio51", "gpio52", "gpio59",
|
||||
"gpio60", "gpio61", "gpio62";
|
||||
function = "rgmii2";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tx {
|
||||
pins = "gpio27", "gpio28", "gpio29", "gpio30", "gpio31", "gpio32" ;
|
||||
input-disable;
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cs {
|
||||
pins = "gpio20";
|
||||
drive-strength = <12>;
|
||||
|
||||
@ -130,14 +130,41 @@
|
||||
};
|
||||
};
|
||||
|
||||
mdio0_pins: mdio0-pins {
|
||||
mdio0_pins: mdio0-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio0", "gpio1";
|
||||
function = "mdio";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
clk {
|
||||
pins = "gpio1";
|
||||
input-disable;
|
||||
};
|
||||
};
|
||||
|
||||
rgmii2_pins: rgmii2-pins {
|
||||
rgmii2_pins: rgmii2-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio27", "gpio28", "gpio29",
|
||||
"gpio30", "gpio31", "gpio32",
|
||||
"gpio51", "gpio52", "gpio59",
|
||||
"gpio60", "gpio61", "gpio62";
|
||||
function = "rgmii2";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tx {
|
||||
pins = "gpio27", "gpio28", "gpio29",
|
||||
"gpio30", "gpio31", "gpio32";
|
||||
@ -145,7 +172,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -84,7 +84,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
rgmii2_pins: rgmii2-pins {
|
||||
rgmii2_pins: rgmii2-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio27", "gpio28", "gpio29", "gpio30", "gpio31",
|
||||
"gpio51", "gpio52", "gpio59", "gpio60", "gpio61", "gpio62";
|
||||
@ -99,7 +104,19 @@
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cs {
|
||||
pins = "gpio20";
|
||||
drive-strength = <12>;
|
||||
|
||||
@ -84,14 +84,41 @@
|
||||
};
|
||||
};
|
||||
|
||||
rgmii2_pins: rgmii2-pins {
|
||||
rgmii2_pins: rgmii2-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio27", "gpio28", "gpio29",
|
||||
"gpio30", "gpio31", "gpio32",
|
||||
"gpio51", "gpio52", "gpio59",
|
||||
"gpio60", "gpio61", "gpio62";
|
||||
function = "rgmii2";
|
||||
drive-strength = <8>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
tx {
|
||||
pins = "gpio27", "gpio28", "gpio29", "gpio30", "gpio31", "gpio32";
|
||||
input-disable;
|
||||
};
|
||||
};
|
||||
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19", "gpio21";
|
||||
function = "gsbi5";
|
||||
drive-strength = <10>;
|
||||
bias-disable;
|
||||
};
|
||||
|
||||
cs {
|
||||
pins = "gpio20";
|
||||
drive-strength = <12>;
|
||||
|
||||
@ -99,7 +99,12 @@
|
||||
|
||||
|
||||
&qcom_pinmux {
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -103,7 +103,12 @@
|
||||
|
||||
|
||||
&qcom_pinmux {
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "gsbi5";
|
||||
|
||||
@ -95,7 +95,12 @@
|
||||
};
|
||||
|
||||
&qcom_pinmux {
|
||||
spi_pins: spi_pins {
|
||||
spi_pins: spi-state {
|
||||
/delete-property/ pins;
|
||||
/delete-property/ function;
|
||||
/delete-property/ drive-strength;
|
||||
/delete-property/ bias-disable;
|
||||
|
||||
mux {
|
||||
pins = "gpio18", "gpio19";
|
||||
function = "gsbi5";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user