| .. | .. |
|---|
| 102 | 102 | #address-cells = <1>; |
|---|
| 103 | 103 | #size-cells = <0>; |
|---|
| 104 | 104 | |
|---|
| 105 | | - switch@0 { |
|---|
| 105 | + switch: switch@0 { |
|---|
| 106 | 106 | compatible = "marvell,mv88e6085"; /* 88e6240*/ |
|---|
| 107 | 107 | reg = <0>; |
|---|
| 108 | + |
|---|
| 109 | + interrupt-parent = <&gpio2>; |
|---|
| 110 | + interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 111 | + interrupt-controller; |
|---|
| 112 | + #interrupt-cells = <2>; |
|---|
| 108 | 113 | |
|---|
| 109 | 114 | switch_ports: ports { |
|---|
| 110 | 115 | #address-cells = <1>; |
|---|
| .. | .. |
|---|
| 117 | 122 | |
|---|
| 118 | 123 | switchphy0: switchphy@0 { |
|---|
| 119 | 124 | reg = <0>; |
|---|
| 125 | + interrupt-parent = <&switch>; |
|---|
| 126 | + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 120 | 127 | }; |
|---|
| 121 | 128 | |
|---|
| 122 | 129 | switchphy1: switchphy@1 { |
|---|
| 123 | 130 | reg = <1>; |
|---|
| 131 | + interrupt-parent = <&switch>; |
|---|
| 132 | + interrupts = <1 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 124 | 133 | }; |
|---|
| 125 | 134 | |
|---|
| 126 | 135 | switchphy2: switchphy@2 { |
|---|
| 127 | 136 | reg = <2>; |
|---|
| 137 | + interrupt-parent = <&switch>; |
|---|
| 138 | + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 128 | 139 | }; |
|---|
| 129 | 140 | |
|---|
| 130 | 141 | switchphy3: switchphy@3 { |
|---|
| 131 | 142 | reg = <3>; |
|---|
| 143 | + interrupt-parent = <&switch>; |
|---|
| 144 | + interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 132 | 145 | }; |
|---|
| 133 | 146 | |
|---|
| 134 | 147 | switchphy4: switchphy@4 { |
|---|
| 135 | 148 | reg = <4>; |
|---|
| 149 | + interrupt-parent = <&switch>; |
|---|
| 150 | + interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; |
|---|
| 136 | 151 | }; |
|---|
| 137 | 152 | }; |
|---|
| 138 | 153 | }; |
|---|
| .. | .. |
|---|
| 140 | 155 | }; |
|---|
| 141 | 156 | |
|---|
| 142 | 157 | &ecspi5 { |
|---|
| 143 | | - cs-gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>; |
|---|
| 158 | + cs-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; |
|---|
| 144 | 159 | pinctrl-names = "default"; |
|---|
| 145 | 160 | pinctrl-0 = <&pinctrl_ecspi5>; |
|---|
| 146 | 161 | status = "okay"; |
|---|
| 147 | 162 | |
|---|
| 148 | | - m25_eeprom: m25p80@0 { |
|---|
| 163 | + m25_eeprom: flash@0 { |
|---|
| 149 | 164 | compatible = "atmel,at25"; |
|---|
| 150 | 165 | spi-max-frequency = <10000000>; |
|---|
| 151 | 166 | size = <0x8000>; |
|---|
| .. | .. |
|---|
| 233 | 248 | interrupt-parent = <&gpio2>; |
|---|
| 234 | 249 | interrupts = <3 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 235 | 250 | |
|---|
| 236 | | - P10 { |
|---|
| 237 | | - gpio-hog; |
|---|
| 238 | | - gpios = <8 0>; |
|---|
| 239 | | - output-low; |
|---|
| 240 | | - line-name = "PCA9539-P10"; |
|---|
| 241 | | - }; |
|---|
| 242 | | - |
|---|
| 243 | | - P11 { |
|---|
| 244 | | - gpio-hog; |
|---|
| 245 | | - gpios = <9 0>; |
|---|
| 246 | | - output-low; |
|---|
| 247 | | - line-name = "PCA9539-P11"; |
|---|
| 248 | | - }; |
|---|
| 249 | | - |
|---|
| 250 | | - P12 { |
|---|
| 251 | + P12-hog { |
|---|
| 251 | 252 | gpio-hog; |
|---|
| 252 | 253 | gpios = <10 0>; |
|---|
| 253 | 254 | output-low; |
|---|
| 254 | 255 | line-name = "PCA9539-P12"; |
|---|
| 255 | 256 | }; |
|---|
| 256 | 257 | |
|---|
| 257 | | - P13 { |
|---|
| 258 | + P13-hog { |
|---|
| 258 | 259 | gpio-hog; |
|---|
| 259 | 260 | gpios = <11 0>; |
|---|
| 260 | 261 | output-low; |
|---|
| 261 | 262 | line-name = "PCA9539-P13"; |
|---|
| 262 | 263 | }; |
|---|
| 263 | 264 | |
|---|
| 264 | | - P14 { |
|---|
| 265 | + P14-hog { |
|---|
| 265 | 266 | gpio-hog; |
|---|
| 266 | 267 | gpios = <12 0>; |
|---|
| 267 | 268 | output-low; |
|---|
| 268 | 269 | line-name = "PCA9539-P14"; |
|---|
| 269 | 270 | }; |
|---|
| 270 | 271 | |
|---|
| 271 | | - P15 { |
|---|
| 272 | + P15-hog { |
|---|
| 272 | 273 | gpio-hog; |
|---|
| 273 | 274 | gpios = <13 0>; |
|---|
| 274 | 275 | output-low; |
|---|
| 275 | 276 | line-name = "PCA9539-P15"; |
|---|
| 276 | 277 | }; |
|---|
| 277 | 278 | |
|---|
| 278 | | - P16 { |
|---|
| 279 | + P16-hog { |
|---|
| 279 | 280 | gpio-hog; |
|---|
| 280 | 281 | gpios = <14 0>; |
|---|
| 281 | 282 | output-low; |
|---|
| 282 | 283 | line-name = "PCA9539-P16"; |
|---|
| 283 | 284 | }; |
|---|
| 284 | 285 | |
|---|
| 285 | | - P17 { |
|---|
| 286 | + P17-hog { |
|---|
| 286 | 287 | gpio-hog; |
|---|
| 287 | 288 | gpios = <15 0>; |
|---|
| 288 | 289 | output-low; |
|---|