~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml (Architecture sparc64) and /Documentation/devicetree/bindings/phy/phy-rockchip-naneng-combphy.yaml (Architecture ppc)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/phy/phy-roc      4 $id: http://devicetree.org/schemas/phy/phy-rockchip-naneng-combphy.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Rockchip SoC Naneng Combo Phy                7 title: Rockchip SoC Naneng Combo Phy
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Heiko Stuebner <heiko@sntech.de>                10   - Heiko Stuebner <heiko@sntech.de>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     enum:                                          14     enum:
 15       - rockchip,rk3568-naneng-combphy             15       - rockchip,rk3568-naneng-combphy
 16       - rockchip,rk3588-naneng-combphy             16       - rockchip,rk3588-naneng-combphy
 17                                                    17 
 18   reg:                                             18   reg:
 19     maxItems: 1                                    19     maxItems: 1
 20                                                    20 
 21   clocks:                                          21   clocks:
 22     items:                                         22     items:
 23       - description: reference clock               23       - description: reference clock
 24       - description: apb clock                     24       - description: apb clock
 25       - description: pipe clock                    25       - description: pipe clock
 26                                                    26 
 27   clock-names:                                     27   clock-names:
 28     items:                                         28     items:
 29       - const: ref                                 29       - const: ref
 30       - const: apb                                 30       - const: apb
 31       - const: pipe                                31       - const: pipe
 32                                                    32 
 33   resets:                                          33   resets:
 34     minItems: 1                                    34     minItems: 1
 35     maxItems: 2                                    35     maxItems: 2
 36                                                    36 
 37   reset-names:                                     37   reset-names:
 38     minItems: 1                                    38     minItems: 1
 39     items:                                         39     items:
 40       - const: phy                                 40       - const: phy
 41       - const: apb                                 41       - const: apb
 42                                                    42 
 43   rockchip,enable-ssc:                             43   rockchip,enable-ssc:
 44     type: boolean                                  44     type: boolean
 45     description:                                   45     description:
 46       The option SSC can be enabled for U3, SA     46       The option SSC can be enabled for U3, SATA and PCIE.
 47       Most commercially available platforms us     47       Most commercially available platforms use SSC to reduce EMI.
 48                                                    48 
 49   rockchip,ext-refclk:                             49   rockchip,ext-refclk:
 50     type: boolean                                  50     type: boolean
 51     description:                                   51     description:
 52       Many PCIe connections, especially backpl     52       Many PCIe connections, especially backplane connections,
 53       require a synchronous reference clock be     53       require a synchronous reference clock between the two link partners.
 54       To achieve this a common clock source, r     54       To achieve this a common clock source, referred to as REFCLK in
 55       the PCI Express Card Electromechanical S     55       the PCI Express Card Electromechanical Specification,
 56       should be used by both ends of the PCIe      56       should be used by both ends of the PCIe link.
 57       In PCIe mode one can choose to use an in     57       In PCIe mode one can choose to use an internal or an external reference
 58       clock.                                       58       clock.
 59       By default the internal clock is selecte     59       By default the internal clock is selected. The PCIe PHY provides a 100MHz
 60       differential clock output(optional with      60       differential clock output(optional with SSC) for system applications.
 61       When selecting this option an externally     61       When selecting this option an externally 100MHz differential
 62       reference clock needs to be provided to      62       reference clock needs to be provided to the PCIe PHY.
 63                                                    63 
 64   rockchip,pipe-grf:                               64   rockchip,pipe-grf:
 65     $ref: /schemas/types.yaml#/definitions/pha     65     $ref: /schemas/types.yaml#/definitions/phandle
 66     description:                                   66     description:
 67       Some additional phy settings are accesse     67       Some additional phy settings are accessed through GRF regs.
 68                                                    68 
 69   rockchip,pipe-phy-grf:                           69   rockchip,pipe-phy-grf:
 70     $ref: /schemas/types.yaml#/definitions/pha     70     $ref: /schemas/types.yaml#/definitions/phandle
 71     description:                                   71     description:
 72       Some additional pipe settings are access     72       Some additional pipe settings are accessed through GRF regs.
 73                                                    73 
 74   "#phy-cells":                                    74   "#phy-cells":
 75     const: 1                                       75     const: 1
 76                                                    76 
 77 required:                                          77 required:
 78   - compatible                                     78   - compatible
 79   - reg                                            79   - reg
 80   - clocks                                         80   - clocks
 81   - clock-names                                    81   - clock-names
 82   - resets                                         82   - resets
 83   - rockchip,pipe-grf                              83   - rockchip,pipe-grf
 84   - rockchip,pipe-phy-grf                          84   - rockchip,pipe-phy-grf
 85   - "#phy-cells"                                   85   - "#phy-cells"
 86                                                    86 
 87 allOf:                                             87 allOf:
 88   - if:                                            88   - if:
 89       properties:                                  89       properties:
 90         compatible:                                90         compatible:
 91           contains:                                91           contains:
 92             const: rockchip,rk3568-naneng-comb     92             const: rockchip,rk3568-naneng-combphy
 93     then:                                          93     then:
 94       properties:                                  94       properties:
 95         resets:                                    95         resets:
 96           maxItems: 1                              96           maxItems: 1
 97         reset-names:                               97         reset-names:
 98           maxItems: 1                              98           maxItems: 1
 99   - if:                                            99   - if:
100       properties:                                 100       properties:
101         compatible:                               101         compatible:
102           contains:                               102           contains:
103             const: rockchip,rk3588-naneng-comb    103             const: rockchip,rk3588-naneng-combphy
104     then:                                         104     then:
105       properties:                                 105       properties:
106         resets:                                   106         resets:
107           minItems: 2                             107           minItems: 2
108         reset-names:                              108         reset-names:
109           minItems: 2                             109           minItems: 2
110       required:                                   110       required:
111         - reset-names                             111         - reset-names
112                                                   112 
113 additionalProperties: false                       113 additionalProperties: false
114                                                   114 
115 examples:                                         115 examples:
116   - |                                             116   - |
117     #include <dt-bindings/clock/rk3568-cru.h>     117     #include <dt-bindings/clock/rk3568-cru.h>
118                                                   118 
119     pipegrf: syscon@fdc50000 {                    119     pipegrf: syscon@fdc50000 {
120       compatible = "rockchip,rk3568-pipe-grf",    120       compatible = "rockchip,rk3568-pipe-grf", "syscon";
121       reg = <0xfdc50000 0x1000>;                  121       reg = <0xfdc50000 0x1000>;
122     };                                            122     };
123                                                   123 
124     pipe_phy_grf0: syscon@fdc70000 {              124     pipe_phy_grf0: syscon@fdc70000 {
125       compatible = "rockchip,rk3568-pipe-phy-g    125       compatible = "rockchip,rk3568-pipe-phy-grf", "syscon";
126       reg = <0xfdc70000 0x1000>;                  126       reg = <0xfdc70000 0x1000>;
127     };                                            127     };
128                                                   128 
129     combphy0: phy@fe820000 {                      129     combphy0: phy@fe820000 {
130       compatible = "rockchip,rk3568-naneng-com    130       compatible = "rockchip,rk3568-naneng-combphy";
131       reg = <0xfe820000 0x100>;                   131       reg = <0xfe820000 0x100>;
132       clocks = <&pmucru CLK_PCIEPHY0_REF>,        132       clocks = <&pmucru CLK_PCIEPHY0_REF>,
133                <&cru PCLK_PIPEPHY0>,              133                <&cru PCLK_PIPEPHY0>,
134                <&cru PCLK_PIPE>;                  134                <&cru PCLK_PIPE>;
135       clock-names = "ref", "apb", "pipe";         135       clock-names = "ref", "apb", "pipe";
136       assigned-clocks = <&pmucru CLK_PCIEPHY0_    136       assigned-clocks = <&pmucru CLK_PCIEPHY0_REF>;
137       assigned-clock-rates = <100000000>;         137       assigned-clock-rates = <100000000>;
138       resets = <&cru SRST_PIPEPHY0>;              138       resets = <&cru SRST_PIPEPHY0>;
139       rockchip,pipe-grf = <&pipegrf>;             139       rockchip,pipe-grf = <&pipegrf>;
140       rockchip,pipe-phy-grf = <&pipe_phy_grf0>    140       rockchip,pipe-phy-grf = <&pipe_phy_grf0>;
141       #phy-cells = <1>;                           141       #phy-cells = <1>;
142     };                                            142     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php