Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) APM X-Gene SoC MDIO node
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) MDIO node is defined to describe on-chip MDIO controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 	- compatible: Must be "apm,xgene-mdio-rgmii" or "apm,xgene-mdio-xfi"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 	- #address-cells: Must be <1>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	- #size-cells: Must be <0>.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	- reg: Address and length of the register set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	- clocks: Reference to the clock entry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) For the phys on the mdio bus, there must be a node with the following fields:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	- compatible: PHY identifier.  Please refer ./phy.txt for the format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	- reg: The ID number for the phy.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	mdio: mdio@17020000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 		compatible = "apm,xgene-mdio-rgmii";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 		#address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		#size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 		reg = <0x0 0x17020000 0x0 0xd100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		clocks = <&menetclk 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	/* Board-specific peripheral configurations */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	&mdio {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		menetphy: phy@3 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 			reg = <0x3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		sgenet0phy: phy@4 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 			reg = <0x4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 		sgenet1phy: phy@5 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 			reg = <0x5>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	};