Lines Matching +full:jh7110 +full:- +full:dwmac
1 // SPDX-License-Identifier: GPL-2.0 OR MIT
7 /dts-v1/;
8 #include "jh7110.dtsi"
9 #include "jh7110-pinfunc.h"
10 #include <dt-bindings/gpio/gpio.h>
25 stdout-path = "serial0:115200n8";
33 gpio-restart {
34 compatible = "gpio-restart";
39 pwmdac_codec: audio-codec {
40 compatible = "linux,spdif-dit";
41 #sound-dai-cells = <0>;
45 compatible = "simple-audio-card";
46 simple-audio-card,name = "StarFive-PWMDAC-Sound-Card";
47 #address-cells = <1>;
48 #size-cells = <0>;
50 simple-audio-card,dai-link@0 {
53 bitclock-master = <&sndcpu0>;
54 frame-master = <&sndcpu0>;
57 sound-dai = <&pwmdac>;
61 sound-dai = <&pwmdac_codec>;
68 timebase-frequency = <4000000>;
72 clock-frequency = <74250000>;
76 clock-frequency = <125000000>;
80 clock-frequency = <50000000>;
84 clock-frequency = <125000000>;
88 clock-frequency = <50000000>;
92 clock-frequency = <297000000>;
96 clock-frequency = <12288000>;
100 clock-frequency = <192000>;
104 clock-frequency = <12288000>;
108 clock-frequency = <192000>;
112 clock-frequency = <12288000>;
116 clock-frequency = <24000000>;
120 clock-frequency = <32768>;
124 clock-frequency = <49152000>;
128 assigned-clocks = <&ispcrg JH7110_ISPCLK_DOM4_APB_FUNC>,
130 assigned-clock-rates = <49500000>, <198000000>;
133 #address-cells = <1>;
134 #size-cells = <0>;
144 remote-endpoint = <&csi2rx_to_camss>;
151 assigned-clocks = <&ispcrg JH7110_ISPCLK_VIN_SYS>;
152 assigned-clock-rates = <297000000>;
155 #address-cells = <1>;
156 #size-cells = <0>;
168 remote-endpoint = <&camss_from_csi2rx>;
175 phy-handle = <&phy0>;
176 phy-mode = "rgmii-id";
180 #address-cells = <1>;
181 #size-cells = <0>;
182 compatible = "snps,dwmac-mdio";
184 phy0: ethernet-phy@0 {
191 clock-frequency = <100000>;
192 i2c-sda-hold-time-ns = <300>;
193 i2c-sda-falling-time-ns = <510>;
194 i2c-scl-falling-time-ns = <510>;
195 pinctrl-names = "default";
196 pinctrl-0 = <&i2c0_pins>;
201 clock-frequency = <100000>;
202 i2c-sda-hold-time-ns = <300>;
203 i2c-sda-falling-time-ns = <510>;
204 i2c-scl-falling-time-ns = <510>;
205 pinctrl-names = "default";
206 pinctrl-0 = <&i2c2_pins>;
211 clock-frequency = <100000>;
212 i2c-sda-hold-time-ns = <300>;
213 i2c-sda-falling-time-ns = <510>;
214 i2c-scl-falling-time-ns = <510>;
215 pinctrl-names = "default";
216 pinctrl-0 = <&i2c5_pins>;
220 compatible = "x-powers,axp15060";
222 interrupt-controller;
223 #interrupt-cells = <1>;
227 regulator-boot-on;
228 regulator-always-on;
229 regulator-min-microvolt = <3300000>;
230 regulator-max-microvolt = <3300000>;
231 regulator-name = "vcc_3v3";
235 regulator-always-on;
236 regulator-min-microvolt = <500000>;
237 regulator-max-microvolt = <1540000>;
238 regulator-name = "vdd-cpu";
242 regulator-boot-on;
243 regulator-always-on;
244 regulator-min-microvolt = <1800000>;
245 regulator-max-microvolt = <3300000>;
246 regulator-name = "emmc_vdd";
253 clock-frequency = <100000>;
254 i2c-sda-hold-time-ns = <300>;
255 i2c-sda-falling-time-ns = <510>;
256 i2c-scl-falling-time-ns = <510>;
257 pinctrl-names = "default";
258 pinctrl-0 = <&i2c6_pins>;
263 max-frequency = <100000000>;
264 assigned-clocks = <&syscrg JH7110_SYSCLK_SDIO0_SDCARD>;
265 assigned-clock-rates = <50000000>;
266 bus-width = <8>;
267 cap-mmc-highspeed;
268 mmc-ddr-1_8v;
269 mmc-hs200-1_8v;
270 cap-mmc-hw-reset;
271 post-power-on-delay-ms = <200>;
272 pinctrl-names = "default";
273 pinctrl-0 = <&mmc0_pins>;
274 vmmc-supply = <&vcc_3v3>;
275 vqmmc-supply = <&emmc_vdd>;
280 max-frequency = <100000000>;
281 assigned-clocks = <&syscrg JH7110_SYSCLK_SDIO1_SDCARD>;
282 assigned-clock-rates = <50000000>;
283 bus-width = <4>;
284 no-sdio;
285 no-mmc;
286 cd-gpios = <&sysgpio 41 GPIO_ACTIVE_LOW>;
287 disable-wp;
288 cap-sd-highspeed;
289 post-power-on-delay-ms = <200>;
290 pinctrl-names = "default";
291 pinctrl-0 = <&mmc1_pins>;
296 perst-gpios = <&sysgpio 26 GPIO_ACTIVE_LOW>;
298 pinctrl-names = "default";
299 pinctrl-0 = <&pcie0_pins>;
303 perst-gpios = <&sysgpio 28 GPIO_ACTIVE_LOW>;
305 pinctrl-names = "default";
306 pinctrl-0 = <&pcie1_pins>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&pwmdac_pins>;
316 #address-cells = <1>;
317 #size-cells = <0>;
321 compatible = "jedec,spi-nor";
323 cdns,read-delay = <5>;
324 spi-max-frequency = <12000000>;
325 cdns,tshsl-ns = <1>;
326 cdns,tsd2d-ns = <1>;
327 cdns,tchsh-ns = <1>;
328 cdns,tslch-ns = <1>;
331 compatible = "fixed-partitions";
332 #address-cells = <1>;
333 #size-cells = <1>;
338 uboot-env@f0000 {
349 pinctrl-names = "default";
350 pinctrl-0 = <&pwm_pins>;
355 pinctrl-names = "default";
356 pinctrl-0 = <&spi0_pins>;
362 spi-max-frequency = <10000000>;
367 assigned-clocks = <&syscrg JH7110_SYSCLK_CPU_CORE>,
369 assigned-clock-rates = <500000000>, <1500000000>;
373 i2c0_pins: i2c0-0 {
374 i2c-pins {
381 bias-disable; /* external pull-up */
382 input-enable;
383 input-schmitt-enable;
387 i2c2_pins: i2c2-0 {
388 i2c-pins {
395 bias-disable; /* external pull-up */
396 input-enable;
397 input-schmitt-enable;
401 i2c5_pins: i2c5-0 {
402 i2c-pins {
409 bias-disable; /* external pull-up */
410 input-enable;
411 input-schmitt-enable;
415 i2c6_pins: i2c6-0 {
416 i2c-pins {
423 bias-disable; /* external pull-up */
424 input-enable;
425 input-schmitt-enable;
429 mmc0_pins: mmc0-0 {
430 rst-pins {
434 bias-pull-up;
435 drive-strength = <12>;
436 input-disable;
437 input-schmitt-disable;
438 slew-rate = <0>;
441 mmc-pins {
452 bias-pull-up;
453 drive-strength = <12>;
454 input-enable;
458 mmc1_pins: mmc1-0 {
459 clk-pins {
463 bias-pull-up;
464 drive-strength = <12>;
465 input-disable;
466 input-schmitt-disable;
467 slew-rate = <0>;
470 mmc-pins {
486 bias-pull-up;
487 drive-strength = <12>;
488 input-enable;
489 input-schmitt-enable;
490 slew-rate = <0>;
494 pcie0_pins: pcie0-0 {
495 clkreq-pins {
499 bias-pull-down;
500 drive-strength = <2>;
501 input-enable;
502 input-schmitt-disable;
503 slew-rate = <0>;
506 wake-pins {
510 bias-pull-up;
511 drive-strength = <2>;
512 input-enable;
513 input-schmitt-disable;
514 slew-rate = <0>;
518 pcie1_pins: pcie1-0 {
519 clkreq-pins {
523 bias-pull-down;
524 drive-strength = <2>;
525 input-enable;
526 input-schmitt-disable;
527 slew-rate = <0>;
530 wake-pins {
534 bias-pull-up;
535 drive-strength = <2>;
536 input-enable;
537 input-schmitt-disable;
538 slew-rate = <0>;
542 pwmdac_pins: pwmdac-0 {
543 pwmdac-pins {
550 bias-disable;
551 drive-strength = <2>;
552 input-disable;
553 input-schmitt-disable;
554 slew-rate = <0>;
558 pwm_pins: pwm-0 {
559 pwm-pins {
566 bias-disable;
567 drive-strength = <12>;
568 input-disable;
569 input-schmitt-disable;
570 slew-rate = <0>;
574 spi0_pins: spi0-0 {
575 mosi-pins {
579 bias-disable;
580 input-disable;
581 input-schmitt-disable;
584 miso-pins {
588 bias-pull-up;
589 input-enable;
590 input-schmitt-enable;
593 sck-pins {
597 bias-disable;
598 input-disable;
599 input-schmitt-disable;
602 ss-pins {
606 bias-disable;
607 input-disable;
608 input-schmitt-disable;
612 uart0_pins: uart0-0 {
613 tx-pins {
617 bias-disable;
618 drive-strength = <12>;
619 input-disable;
620 input-schmitt-disable;
621 slew-rate = <0>;
624 rx-pins {
628 bias-disable; /* external pull-up */
629 drive-strength = <2>;
630 input-enable;
631 input-schmitt-enable;
632 slew-rate = <0>;
638 pinctrl-names = "default";
639 pinctrl-0 = <&uart0_pins>;
649 cpu-supply = <&vdd_cpu>;
653 cpu-supply = <&vdd_cpu>;
657 cpu-supply = <&vdd_cpu>;
661 cpu-supply = <&vdd_cpu>;