File tree Expand file tree Collapse file tree 4 files changed +68
-50
lines changed
Documentation/devicetree/bindings/net/dsa Expand file tree Collapse file tree 4 files changed +68
-50
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
6
6
7
7
title : Broadcom BCM53xx Ethernet switches
8
8
9
- allOf :
10
- - $ref : dsa.yaml#
11
-
12
9
maintainers :
13
10
-
Florian Fainelli <[email protected] >
14
11
@@ -68,53 +65,71 @@ required:
68
65
- compatible
69
66
- reg
70
67
71
- # BCM585xx/586xx/88312 SoCs
72
- if :
73
- properties :
74
- compatible :
75
- contains :
76
- enum :
77
- - brcm,bcm58522-srab
78
- - brcm,bcm58523-srab
79
- - brcm,bcm58525-srab
80
- - brcm,bcm58622-srab
81
- - brcm,bcm58623-srab
82
- - brcm,bcm58625-srab
83
- - brcm,bcm88312-srab
84
- then :
85
- properties :
86
- reg :
87
- minItems : 3
88
- maxItems : 3
89
- reg-names :
90
- items :
91
- - const : srab
92
- - const : mux_config
93
- - const : sgmii_config
94
- interrupts :
95
- minItems : 13
96
- maxItems : 13
97
- interrupt-names :
98
- items :
99
- - const : link_state_p0
100
- - const : link_state_p1
101
- - const : link_state_p2
102
- - const : link_state_p3
103
- - const : link_state_p4
104
- - const : link_state_p5
105
- - const : link_state_p7
106
- - const : link_state_p8
107
- - const : phy
108
- - const : ts
109
- - const : imp_sleep_timer_p5
110
- - const : imp_sleep_timer_p7
111
- - const : imp_sleep_timer_p8
112
- required :
113
- - interrupts
114
- else :
115
- properties :
116
- reg :
117
- maxItems : 1
68
+ allOf :
69
+ - $ref : dsa.yaml#
70
+ - if :
71
+ properties :
72
+ compatible :
73
+ contains :
74
+ enum :
75
+ - brcm,bcm5325
76
+ - brcm,bcm53115
77
+ - brcm,bcm53125
78
+ - brcm,bcm53128
79
+ - brcm,bcm5365
80
+ - brcm,bcm5395
81
+ - brcm,bcm5397
82
+ - brcm,bcm5398
83
+ then :
84
+ $ref : /schemas/spi/spi-peripheral-props.yaml
85
+
86
+ # BCM585xx/586xx/88312 SoCs
87
+ - if :
88
+ properties :
89
+ compatible :
90
+ contains :
91
+ enum :
92
+ - brcm,bcm58522-srab
93
+ - brcm,bcm58523-srab
94
+ - brcm,bcm58525-srab
95
+ - brcm,bcm58622-srab
96
+ - brcm,bcm58623-srab
97
+ - brcm,bcm58625-srab
98
+ - brcm,bcm88312-srab
99
+ then :
100
+ properties :
101
+ reg :
102
+ minItems : 3
103
+ maxItems : 3
104
+ reg-names :
105
+ items :
106
+ - const : srab
107
+ - const : mux_config
108
+ - const : sgmii_config
109
+ interrupts :
110
+ minItems : 13
111
+ maxItems : 13
112
+ interrupt-names :
113
+ items :
114
+ - const : link_state_p0
115
+ - const : link_state_p1
116
+ - const : link_state_p2
117
+ - const : link_state_p3
118
+ - const : link_state_p4
119
+ - const : link_state_p5
120
+ - const : link_state_p7
121
+ - const : link_state_p8
122
+ - const : phy
123
+ - const : ts
124
+ - const : imp_sleep_timer_p5
125
+ - const : imp_sleep_timer_p7
126
+ - const : imp_sleep_timer_p8
127
+ required :
128
+ - interrupts
129
+ else :
130
+ properties :
131
+ reg :
132
+ maxItems : 1
118
133
119
134
unevaluatedProperties : false
120
135
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ maintainers:
12
12
13
13
allOf :
14
14
- $ref : dsa.yaml#
15
+ - $ref : /schemas/spi/spi-peripheral-props.yaml#
15
16
16
17
properties :
17
18
# See Documentation/devicetree/bindings/net/dsa/dsa.yaml for a list of additional
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ description:
14
14
15
15
allOf :
16
16
- $ref : " dsa.yaml#"
17
+ - $ref : /schemas/spi/spi-peripheral-props.yaml#
17
18
18
19
maintainers :
19
20
-
Vladimir Oltean <[email protected] >
Original file line number Diff line number Diff line change 108
108
- reg
109
109
110
110
then :
111
+ $ref : /schemas/spi/spi-peripheral-props.yaml#
111
112
not :
112
113
required :
113
114
- mdc-gpios
You can’t perform that action at this time.
0 commit comments