public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the net-next tree with the spacemit tree
@ 2025-09-17 11:30 Mark Brown
  2025-09-17 11:48 ` Vivian Wang
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2025-09-17 11:30 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski, Paolo Abeni, Networking
  Cc: Guodong Xu, Linux Kernel Mailing List, Linux Next Mailing List,
	Vivian Wang, Yixun Lan

[-- Attachment #1: Type: text/plain, Size: 3616 bytes --]

Hi all,

Today's linux-next merge of the net-next tree got conflicts in:

  arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
  arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts

between commit:

  0e28eab0ca512 ("riscv: dts: spacemit: Enable PDMA on Banana Pi F3 and Milkv Jupiter")

from the spacemit tree and commits:

  3c247a6366d58 ("riscv: dts: spacemit: Add Ethernet support for BPI-F3")
  e32dc7a936b11 ("riscv: dts: spacemit: Add Ethernet support for Jupiter")

from the net-next tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --cc arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
index 6013be2585428,33e223cefd4bd..0000000000000
--- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
@@@ -40,10 -42,52 +42,56 @@@
  	status = "okay";
  };
  
+ &eth0 {
+ 	phy-handle = <&rgmii0>;
+ 	phy-mode = "rgmii-id";
+ 	pinctrl-names = "default";
+ 	pinctrl-0 = <&gmac0_cfg>;
+ 	rx-internal-delay-ps = <0>;
+ 	tx-internal-delay-ps = <0>;
+ 	status = "okay";
+ 
+ 	mdio-bus {
+ 		#address-cells = <0x1>;
+ 		#size-cells = <0x0>;
+ 
+ 		reset-gpios = <&gpio K1_GPIO(110) GPIO_ACTIVE_LOW>;
+ 		reset-delay-us = <10000>;
+ 		reset-post-delay-us = <100000>;
+ 
+ 		rgmii0: phy@1 {
+ 			reg = <0x1>;
+ 		};
+ 	};
+ };
+ 
+ &eth1 {
+ 	phy-handle = <&rgmii1>;
+ 	phy-mode = "rgmii-id";
+ 	pinctrl-names = "default";
+ 	pinctrl-0 = <&gmac1_cfg>;
+ 	rx-internal-delay-ps = <0>;
+ 	tx-internal-delay-ps = <250>;
+ 	status = "okay";
+ 
+ 	mdio-bus {
+ 		#address-cells = <0x1>;
+ 		#size-cells = <0x0>;
+ 
+ 		reset-gpios = <&gpio K1_GPIO(115) GPIO_ACTIVE_LOW>;
+ 		reset-delay-us = <10000>;
+ 		reset-post-delay-us = <100000>;
+ 
+ 		rgmii1: phy@1 {
+ 			reg = <0x1>;
+ 		};
+ 	};
+ };
+ 
 +&pdma {
 +	status = "okay";
 +};
 +
  &uart0 {
  	pinctrl-names = "default";
  	pinctrl-0 = <&uart0_2_cfg>;
diff --cc arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
index c615fcadbd333,89f4132778931..0000000000000
--- a/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts
@@@ -20,10 -22,52 +22,56 @@@
  	};
  };
  
+ &eth0 {
+ 	phy-handle = <&rgmii0>;
+ 	phy-mode = "rgmii-id";
+ 	pinctrl-names = "default";
+ 	pinctrl-0 = <&gmac0_cfg>;
+ 	rx-internal-delay-ps = <0>;
+ 	tx-internal-delay-ps = <0>;
+ 	status = "okay";
+ 
+ 	mdio-bus {
+ 		#address-cells = <0x1>;
+ 		#size-cells = <0x0>;
+ 
+ 		reset-gpios = <&gpio K1_GPIO(110) GPIO_ACTIVE_LOW>;
+ 		reset-delay-us = <10000>;
+ 		reset-post-delay-us = <100000>;
+ 
+ 		rgmii0: phy@1 {
+ 			reg = <0x1>;
+ 		};
+ 	};
+ };
+ 
+ &eth1 {
+ 	phy-handle = <&rgmii1>;
+ 	phy-mode = "rgmii-id";
+ 	pinctrl-names = "default";
+ 	pinctrl-0 = <&gmac1_cfg>;
+ 	rx-internal-delay-ps = <0>;
+ 	tx-internal-delay-ps = <250>;
+ 	status = "okay";
+ 
+ 	mdio-bus {
+ 		#address-cells = <0x1>;
+ 		#size-cells = <0x0>;
+ 
+ 		reset-gpios = <&gpio K1_GPIO(115) GPIO_ACTIVE_LOW>;
+ 		reset-delay-us = <10000>;
+ 		reset-post-delay-us = <100000>;
+ 
+ 		rgmii1: phy@1 {
+ 			reg = <0x1>;
+ 		};
+ 	};
+ };
+ 
 +&pdma {
 +	status = "okay";
 +};
 +
  &uart0 {
  	pinctrl-names = "default";
  	pinctrl-0 = <&uart0_2_cfg>;

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-19  9:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-17 11:30 linux-next: manual merge of the net-next tree with the spacemit tree Mark Brown
2025-09-17 11:48 ` Vivian Wang
2025-09-17 12:03   ` Mark Brown
2025-09-17 12:30     ` Yixun Lan
2025-09-17 12:59       ` Yixun Lan
2025-09-19  9:25         ` Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox