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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/dsa/renesas,rzn1-a5psw.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/net/dsa/renesas,rzn1-a5psw.yaml (Architecture i386) and /Documentation/devicetree/bindings/net/dsa/renesas,rzn1-a5psw.yaml (Architecture sparc)


  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/net/dsa/ren      4 $id: http://devicetree.org/schemas/net/dsa/renesas,rzn1-a5psw.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Renesas RZ/N1 Advanced 5 ports ethernet      7 title: Renesas RZ/N1 Advanced 5 ports ethernet switch
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Clément Léger <clement.leger@bootlin.com>     10   - Clément Léger <clement.leger@bootlin.com>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The advanced 5 ports switch is present on th     13   The advanced 5 ports switch is present on the Renesas RZ/N1 SoC family and
 14   handles 4 ports + 1 CPU management port.         14   handles 4 ports + 1 CPU management port.
 15                                                    15 
 16 allOf:                                             16 allOf:
 17   - $ref: dsa.yaml#/$defs/ethernet-ports           17   - $ref: dsa.yaml#/$defs/ethernet-ports
 18                                                    18 
 19 properties:                                        19 properties:
 20   compatible:                                      20   compatible:
 21     items:                                         21     items:
 22       - enum:                                      22       - enum:
 23           - renesas,r9a06g032-a5psw                23           - renesas,r9a06g032-a5psw
 24       - const: renesas,rzn1-a5psw                  24       - const: renesas,rzn1-a5psw
 25                                                    25 
 26   reg:                                             26   reg:
 27     maxItems: 1                                    27     maxItems: 1
 28                                                    28 
 29   interrupts:                                      29   interrupts:
 30     items:                                         30     items:
 31       - description: Device Level Ring (DLR) i     31       - description: Device Level Ring (DLR) interrupt
 32       - description: Switch interrupt              32       - description: Switch interrupt
 33       - description: Parallel Redundancy Proto     33       - description: Parallel Redundancy Protocol (PRP) interrupt
 34       - description: Integrated HUB module int     34       - description: Integrated HUB module interrupt
 35       - description: Receive Pattern Match int     35       - description: Receive Pattern Match interrupt
 36                                                    36 
 37   interrupt-names:                                 37   interrupt-names:
 38     items:                                         38     items:
 39       - const: dlr                                 39       - const: dlr
 40       - const: switch                              40       - const: switch
 41       - const: prp                                 41       - const: prp
 42       - const: hub                                 42       - const: hub
 43       - const: ptrn                                43       - const: ptrn
 44                                                    44 
 45   power-domains:                                   45   power-domains:
 46     maxItems: 1                                    46     maxItems: 1
 47                                                    47 
 48   mdio:                                            48   mdio:
 49     $ref: /schemas/net/mdio.yaml#                  49     $ref: /schemas/net/mdio.yaml#
 50     unevaluatedProperties: false                   50     unevaluatedProperties: false
 51                                                    51 
 52   clocks:                                          52   clocks:
 53     items:                                         53     items:
 54       - description: AHB clock used for the sw     54       - description: AHB clock used for the switch register interface
 55       - description: Switch system clock           55       - description: Switch system clock
 56                                                    56 
 57   clock-names:                                     57   clock-names:
 58     items:                                         58     items:
 59       - const: hclk                                59       - const: hclk
 60       - const: clk                                 60       - const: clk
 61                                                    61 
 62   ethernet-ports:                                  62   ethernet-ports:
 63     type: object                                   63     type: object
 64     additionalProperties: true                     64     additionalProperties: true
 65     patternProperties:                             65     patternProperties:
 66       "^(ethernet-)?port@[0-4]$":                  66       "^(ethernet-)?port@[0-4]$":
 67         type: object                               67         type: object
 68         additionalProperties: true                 68         additionalProperties: true
 69         properties:                                69         properties:
 70           pcs-handle:                              70           pcs-handle:
 71             maxItems: 1                            71             maxItems: 1
 72             description:                           72             description:
 73               phandle pointing to a PCS sub-no     73               phandle pointing to a PCS sub-node compatible with
 74               renesas,rzn1-miic.yaml#              74               renesas,rzn1-miic.yaml#
 75                                                    75 
 76 unevaluatedProperties: false                       76 unevaluatedProperties: false
 77                                                    77 
 78 required:                                          78 required:
 79   - compatible                                     79   - compatible
 80   - reg                                            80   - reg
 81   - clocks                                         81   - clocks
 82   - clock-names                                    82   - clock-names
 83   - power-domains                                  83   - power-domains
 84                                                    84 
 85 examples:                                          85 examples:
 86   - |                                              86   - |
 87     #include <dt-bindings/gpio/gpio.h>             87     #include <dt-bindings/gpio/gpio.h>
 88     #include <dt-bindings/clock/r9a06g032-sysc     88     #include <dt-bindings/clock/r9a06g032-sysctrl.h>
 89     #include <dt-bindings/interrupt-controller     89     #include <dt-bindings/interrupt-controller/arm-gic.h>
 90                                                    90 
 91     switch@44050000 {                              91     switch@44050000 {
 92         compatible = "renesas,r9a06g032-a5psw"     92         compatible = "renesas,r9a06g032-a5psw", "renesas,rzn1-a5psw";
 93         reg = <0x44050000 0x10000>;                93         reg = <0x44050000 0x10000>;
 94         clocks = <&sysctrl R9A06G032_HCLK_SWIT     94         clocks = <&sysctrl R9A06G032_HCLK_SWITCH>, <&sysctrl R9A06G032_CLK_SWITCH>;
 95         clock-names = "hclk", "clk";               95         clock-names = "hclk", "clk";
 96         power-domains = <&sysctrl>;                96         power-domains = <&sysctrl>;
 97         interrupts = <GIC_SPI 40 IRQ_TYPE_LEVE     97         interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
 98                      <GIC_SPI 42 IRQ_TYPE_LEVE     98                      <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
 99                      <GIC_SPI 43 IRQ_TYPE_LEVE     99                      <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
100                      <GIC_SPI 44 IRQ_TYPE_LEVE    100                      <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
101                      <GIC_SPI 45 IRQ_TYPE_LEVE    101                      <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
102         interrupt-names = "dlr", "switch", "pr    102         interrupt-names = "dlr", "switch", "prp", "hub", "ptrn";
103                                                   103 
104         dsa,member = <0 0>;                       104         dsa,member = <0 0>;
105                                                   105 
106         ethernet-ports {                          106         ethernet-ports {
107             #address-cells = <1>;                 107             #address-cells = <1>;
108             #size-cells = <0>;                    108             #size-cells = <0>;
109                                                   109 
110             port@0 {                              110             port@0 {
111                 reg = <0>;                        111                 reg = <0>;
112                 label = "lan0";                   112                 label = "lan0";
113                 phy-handle = <&switch0phy3>;      113                 phy-handle = <&switch0phy3>;
114                 pcs-handle = <&mii_conv4>;        114                 pcs-handle = <&mii_conv4>;
115             };                                    115             };
116                                                   116 
117             port@1 {                              117             port@1 {
118                 reg = <1>;                        118                 reg = <1>;
119                 label = "lan1";                   119                 label = "lan1";
120                 phy-handle = <&switch0phy1>;      120                 phy-handle = <&switch0phy1>;
121                 pcs-handle = <&mii_conv3>;        121                 pcs-handle = <&mii_conv3>;
122             };                                    122             };
123                                                   123 
124             port@4 {                              124             port@4 {
125                 reg = <4>;                        125                 reg = <4>;
126                 ethernet = <&gmac2>;              126                 ethernet = <&gmac2>;
127                 phy-mode = "internal";            127                 phy-mode = "internal";
128                                                   128 
129                 fixed-link {                      129                 fixed-link {
130                   speed = <1000>;                 130                   speed = <1000>;
131                   full-duplex;                    131                   full-duplex;
132                 };                                132                 };
133             };                                    133             };
134         };                                        134         };
135                                                   135 
136         mdio {                                    136         mdio {
137             #address-cells = <1>;                 137             #address-cells = <1>;
138             #size-cells = <0>;                    138             #size-cells = <0>;
139                                                   139 
140             reset-gpios = <&gpio0a 2 GPIO_ACTI    140             reset-gpios = <&gpio0a 2 GPIO_ACTIVE_HIGH>;
141             reset-delay-us = <15>;                141             reset-delay-us = <15>;
142             clock-frequency = <2500000>;          142             clock-frequency = <2500000>;
143                                                   143 
144             switch0phy1: ethernet-phy@1{          144             switch0phy1: ethernet-phy@1{
145                 reg = <1>;                        145                 reg = <1>;
146             };                                    146             };
147                                                   147 
148             switch0phy3: ethernet-phy@3{          148             switch0phy3: ethernet-phy@3{
149                 reg = <3>;                        149                 reg = <3>;
150             };                                    150             };
151         };                                        151         };
152     };                                            152     };
                                                      

~ [ 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