|
11 | 11 |
|
12 | 12 | / { |
13 | 13 | aliases { |
| 14 | + ethernet0 = &gmac0; |
| 15 | + ethernet1 = &gmac1; |
14 | 16 | i2c0 = &i2c0; |
15 | 17 | i2c2 = &i2c2; |
16 | 18 | i2c5 = &i2c5; |
|
31 | 33 | reg = <0x0 0x40000000 0x1 0x0>; |
32 | 34 | }; |
33 | 35 |
|
| 36 | + thermal-zones { |
| 37 | + cpu-thermal { |
| 38 | + polling-delay-passive = <250>; |
| 39 | + polling-delay = <15000>; |
| 40 | + |
| 41 | + thermal-sensors = <&sfctemp>; |
| 42 | + |
| 43 | + cooling-maps { |
| 44 | + }; |
| 45 | + |
| 46 | + trips { |
| 47 | + cpu_alert0: cpu_alert0 { |
| 48 | + /* milliCelsius */ |
| 49 | + temperature = <75000>; |
| 50 | + hysteresis = <2000>; |
| 51 | + type = "passive"; |
| 52 | + }; |
| 53 | + |
| 54 | + cpu_crit: cpu_crit { |
| 55 | + /* milliCelsius */ |
| 56 | + temperature = <90000>; |
| 57 | + hysteresis = <2000>; |
| 58 | + type = "critical"; |
| 59 | + }; |
| 60 | + }; |
| 61 | + }; |
| 62 | + }; |
| 63 | + |
34 | 64 | gpio-restart { |
35 | 65 | compatible = "gpio-restart"; |
36 | 66 | gpios = <&sysgpio 35 GPIO_ACTIVE_HIGH>; |
37 | 67 | priority = <224>; |
38 | 68 | }; |
39 | 69 | }; |
40 | 70 |
|
| 71 | +&dvp_clk { |
| 72 | + clock-frequency = <74250000>; |
| 73 | +}; |
| 74 | + |
41 | 75 | &gmac0_rgmii_rxin { |
42 | 76 | clock-frequency = <125000000>; |
43 | 77 | }; |
|
54 | 88 | clock-frequency = <50000000>; |
55 | 89 | }; |
56 | 90 |
|
| 91 | +&hdmitx0_pixelclk { |
| 92 | + clock-frequency = <297000000>; |
| 93 | +}; |
| 94 | + |
57 | 95 | &i2srx_bclk_ext { |
58 | 96 | clock-frequency = <12288000>; |
59 | 97 | }; |
|
86 | 124 | clock-frequency = <49152000>; |
87 | 125 | }; |
88 | 126 |
|
| 127 | +&gmac0 { |
| 128 | + phy-handle = <&phy0>; |
| 129 | + phy-mode = "rgmii-id"; |
| 130 | + status = "okay"; |
| 131 | + |
| 132 | + mdio { |
| 133 | + #address-cells = <1>; |
| 134 | + #size-cells = <0>; |
| 135 | + compatible = "snps,dwmac-mdio"; |
| 136 | + |
| 137 | + phy0: ethernet-phy@0 { |
| 138 | + reg = <0>; |
| 139 | + }; |
| 140 | + }; |
| 141 | +}; |
| 142 | + |
| 143 | +&gmac1 { |
| 144 | + phy-handle = <&phy1>; |
| 145 | + phy-mode = "rgmii-id"; |
| 146 | + status = "okay"; |
| 147 | + |
| 148 | + mdio { |
| 149 | + #address-cells = <1>; |
| 150 | + #size-cells = <0>; |
| 151 | + compatible = "snps,dwmac-mdio"; |
| 152 | + |
| 153 | + phy1: ethernet-phy@1 { |
| 154 | + reg = <0>; |
| 155 | + }; |
| 156 | + }; |
| 157 | +}; |
| 158 | + |
89 | 159 | &i2c0 { |
90 | 160 | clock-frequency = <100000>; |
91 | 161 | i2c-sda-hold-time-ns = <300>; |
|
126 | 196 | status = "okay"; |
127 | 197 | }; |
128 | 198 |
|
| 199 | +&mmc0 { |
| 200 | + max-frequency = <100000000>; |
| 201 | + bus-width = <8>; |
| 202 | + cap-mmc-highspeed; |
| 203 | + mmc-ddr-1_8v; |
| 204 | + mmc-hs200-1_8v; |
| 205 | + non-removable; |
| 206 | + cap-mmc-hw-reset; |
| 207 | + post-power-on-delay-ms = <200>; |
| 208 | + status = "okay"; |
| 209 | +}; |
| 210 | + |
| 211 | +&mmc1 { |
| 212 | + max-frequency = <100000000>; |
| 213 | + bus-width = <4>; |
| 214 | + no-sdio; |
| 215 | + no-mmc; |
| 216 | + broken-cd; |
| 217 | + cap-sd-highspeed; |
| 218 | + post-power-on-delay-ms = <200>; |
| 219 | + status = "okay"; |
| 220 | +}; |
| 221 | + |
| 222 | +&pcie0 { |
| 223 | + pinctrl-names = "default"; |
| 224 | + reset-gpios = <&sysgpio 26 GPIO_ACTIVE_LOW>; |
| 225 | + phys = <&pciephy0>; |
| 226 | + status = "okay"; |
| 227 | +}; |
| 228 | + |
| 229 | +&pcie1 { |
| 230 | + pinctrl-names = "default"; |
| 231 | + reset-gpios = <&sysgpio 28 GPIO_ACTIVE_LOW>; |
| 232 | + phys = <&pciephy1>; |
| 233 | + status = "okay"; |
| 234 | +}; |
| 235 | + |
| 236 | +&ptc { |
| 237 | + pinctrl-names = "default"; |
| 238 | + pinctrl-0 = <&pwm_pins>; |
| 239 | + status = "okay"; |
| 240 | +}; |
| 241 | + |
129 | 242 | &sysgpio { |
130 | 243 | i2c0_pins: i2c0-0 { |
131 | 244 | i2c-pins { |
|
183 | 296 | }; |
184 | 297 | }; |
185 | 298 |
|
| 299 | + pcie0_wake_default: pcie0_wake_default { |
| 300 | + wake-pins { |
| 301 | + pinmux = <GPIOMUX(32, GPOUT_HIGH, GPOEN_ENABLE, GPI_NONE)>; |
| 302 | + bias-disable; |
| 303 | + drive-strength = <2>; |
| 304 | + input-enable; |
| 305 | + input-schmitt-disable; |
| 306 | + slew-rate = <0>; |
| 307 | + }; |
| 308 | + }; |
| 309 | + |
| 310 | + pcie0_clkreq_default: pcie0_clkreq_default { |
| 311 | + clkreq-pins { |
| 312 | + bias-disable; |
| 313 | + pinmux = <GPIOMUX(27, GPOUT_HIGH, GPOEN_ENABLE, GPI_NONE)>; |
| 314 | + drive-strength = <2>; |
| 315 | + input-enable; |
| 316 | + input-schmitt-disable; |
| 317 | + slew-rate = <0>; |
| 318 | + }; |
| 319 | + }; |
| 320 | + |
| 321 | + pcie1_wake_default: pcie1_wake_default { |
| 322 | + wake-pins { |
| 323 | + bias-disable; |
| 324 | + pinmux = <GPIOMUX(21, GPOUT_HIGH, GPOEN_ENABLE, GPI_NONE)>; |
| 325 | + drive-strength = <2>; |
| 326 | + input-enable; |
| 327 | + input-schmitt-disable; |
| 328 | + slew-rate = <0>; |
| 329 | + }; |
| 330 | + }; |
| 331 | + |
| 332 | + pcie1_clkreq_default: pcie1_clkreq_default { |
| 333 | + clkreq-pins { |
| 334 | + bias-disable; |
| 335 | + pinmux = <GPIOMUX(29, GPOUT_HIGH, GPOEN_ENABLE, GPI_NONE)>; |
| 336 | + drive-strength = <2>; |
| 337 | + input-enable; |
| 338 | + input-schmitt-disable; |
| 339 | + slew-rate = <0>; |
| 340 | + }; |
| 341 | + }; |
| 342 | + |
| 343 | + pwm_pins: pwm-0 { |
| 344 | + pwm-pins { |
| 345 | + pinmux = <GPIOMUX(46, GPOUT_SYS_PWM_CHANNEL0, |
| 346 | + GPOEN_SYS_PWM0_CHANNEL0, GPI_NONE)>, |
| 347 | + <GPIOMUX(59, GPOUT_SYS_PWM_CHANNEL1, |
| 348 | + GPOEN_SYS_PWM0_CHANNEL1, GPI_NONE)>; |
| 349 | + bias-disable; |
| 350 | + drive-strength = <12>; |
| 351 | + input-disable; |
| 352 | + input-schmitt-disable; |
| 353 | + slew-rate = <0>; |
| 354 | + }; |
| 355 | + }; |
| 356 | + |
186 | 357 | uart0_pins: uart0-0 { |
187 | 358 | tx-pins { |
188 | 359 | pinmux = <GPIOMUX(5, GPOUT_SYS_UART0_TX, |
|
213 | 384 | pinctrl-0 = <&uart0_pins>; |
214 | 385 | status = "okay"; |
215 | 386 | }; |
| 387 | + |
| 388 | +&usb0 { |
| 389 | + status = "okay"; |
| 390 | + usbdrd_cdns3: usb@0 { |
| 391 | + dr_mode = "peripheral"; |
| 392 | + }; |
| 393 | +}; |
0 commit comments