^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Berlin SATA PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - compatible: should be one of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) "marvell,berlin2-sata-phy"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) "marvell,berlin2q-sata-phy"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - address-cells: should be 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - size-cells: should be 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - phy-cells: from the generic PHY bindings, must be 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - reg: address and length of the register
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - clocks: reference to the clock entry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Sub-nodes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Each PHY should be represented as a sub-node.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Sub-nodes required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - reg: the PHY number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) sata_phy: phy@f7e900a0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) compatible = "marvell,berlin2q-sata-phy";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) reg = <0xf7e900a0 0x200>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) clocks = <&chip CLKID_SATA>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #phy-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) sata-phy@0 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) sata-phy@1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) reg = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) };