1 #include "skeleton.dtsi"
5 compatible = "aspeed,ast2400";
8 interrupt-parent = <&vic>;
15 compatible = "arm,arm926ej-s";
22 clk_clkin: clk_clkin {
24 compatible = "fixed-clock";
25 clock-frequency = <48000000>;
31 compatible = "simple-bus";
36 vic: interrupt-controller@1e6c0080 {
37 compatible = "aspeed,ast2400-vic";
39 #interrupt-cells = <1>;
40 valid-sources = <0xffffffff 0x0007ffff>;
41 reg = <0x1e6c0080 0x80>;
44 mac0: ethernet@1e660000 {
45 compatible = "faraday,ftgmac100";
46 reg = <0x1e660000 0x180>;
52 mac1: ethernet@1e680000 {
53 compatible = "faraday,ftgmac100";
54 reg = <0x1e680000 0x180>;
61 compatible = "simple-bus";
66 clk_hpll: clk_hpll@1e6e2070 {
68 compatible = "aspeed,g4-hpll-clock";
69 reg = <0x1e6e2070 0x4>;
70 clocks = <&clk_clkin>;
73 syscon: syscon@1e6e2000 {
74 compatible = "aspeed,g4-scu", "syscon", "simple-mfd";
75 reg = <0x1e6e2000 0x1a8>;
78 compatible = "aspeed,g4-pinctrl";
80 pinctrl_acpi_default: acpi_default {
85 pinctrl_adc0_default: adc0_default {
90 pinctrl_adc1_default: adc1_default {
95 pinctrl_adc10_default: adc10_default {
100 pinctrl_adc11_default: adc11_default {
105 pinctrl_adc12_default: adc12_default {
110 pinctrl_adc13_default: adc13_default {
115 pinctrl_adc14_default: adc14_default {
120 pinctrl_adc15_default: adc15_default {
125 pinctrl_adc2_default: adc2_default {
130 pinctrl_adc3_default: adc3_default {
135 pinctrl_adc4_default: adc4_default {
140 pinctrl_adc5_default: adc5_default {
145 pinctrl_adc6_default: adc6_default {
150 pinctrl_adc7_default: adc7_default {
155 pinctrl_adc8_default: adc8_default {
160 pinctrl_adc9_default: adc9_default {
165 pinctrl_bmcint_default: bmcint_default {
170 pinctrl_ddcclk_default: ddcclk_default {
175 pinctrl_ddcdat_default: ddcdat_default {
180 pinctrl_extrst_default: extrst_default {
185 pinctrl_flack_default: flack_default {
190 pinctrl_flbusy_default: flbusy_default {
195 pinctrl_flwp_default: flwp_default {
200 pinctrl_gpid_default: gpid_default {
205 pinctrl_gpid0_default: gpid0_default {
210 pinctrl_gpid2_default: gpid2_default {
215 pinctrl_gpid4_default: gpid4_default {
220 pinctrl_gpid6_default: gpid6_default {
225 pinctrl_gpie0_default: gpie0_default {
230 pinctrl_gpie2_default: gpie2_default {
235 pinctrl_gpie4_default: gpie4_default {
240 pinctrl_gpie6_default: gpie6_default {
245 pinctrl_i2c10_default: i2c10_default {
250 pinctrl_i2c11_default: i2c11_default {
255 pinctrl_i2c12_default: i2c12_default {
260 pinctrl_i2c13_default: i2c13_default {
265 pinctrl_i2c14_default: i2c14_default {
270 pinctrl_i2c3_default: i2c3_default {
275 pinctrl_i2c4_default: i2c4_default {
280 pinctrl_i2c5_default: i2c5_default {
285 pinctrl_i2c6_default: i2c6_default {
290 pinctrl_i2c7_default: i2c7_default {
295 pinctrl_i2c8_default: i2c8_default {
300 pinctrl_i2c9_default: i2c9_default {
305 pinctrl_lpcpd_default: lpcpd_default {
310 pinctrl_lpcpme_default: lpcpme_default {
315 pinctrl_lpcrst_default: lpcrst_default {
320 pinctrl_lpcsmi_default: lpcsmi_default {
325 pinctrl_mac1link_default: mac1link_default {
326 function = "MAC1LINK";
330 pinctrl_mac2link_default: mac2link_default {
331 function = "MAC2LINK";
335 pinctrl_mdio1_default: mdio1_default {
340 pinctrl_mdio2_default: mdio2_default {
345 pinctrl_ncts1_default: ncts1_default {
350 pinctrl_ncts2_default: ncts2_default {
355 pinctrl_ncts3_default: ncts3_default {
360 pinctrl_ncts4_default: ncts4_default {
365 pinctrl_ndcd1_default: ndcd1_default {
370 pinctrl_ndcd2_default: ndcd2_default {
375 pinctrl_ndcd3_default: ndcd3_default {
380 pinctrl_ndcd4_default: ndcd4_default {
385 pinctrl_ndsr1_default: ndsr1_default {
390 pinctrl_ndsr2_default: ndsr2_default {
395 pinctrl_ndsr3_default: ndsr3_default {
400 pinctrl_ndsr4_default: ndsr4_default {
405 pinctrl_ndtr1_default: ndtr1_default {
410 pinctrl_ndtr2_default: ndtr2_default {
415 pinctrl_ndtr3_default: ndtr3_default {
420 pinctrl_ndtr4_default: ndtr4_default {
425 pinctrl_ndts4_default: ndts4_default {
430 pinctrl_nri1_default: nri1_default {
435 pinctrl_nri2_default: nri2_default {
440 pinctrl_nri3_default: nri3_default {
445 pinctrl_nri4_default: nri4_default {
450 pinctrl_nrts1_default: nrts1_default {
455 pinctrl_nrts2_default: nrts2_default {
460 pinctrl_nrts3_default: nrts3_default {
465 pinctrl_oscclk_default: oscclk_default {
470 pinctrl_pwm0_default: pwm0_default {
475 pinctrl_pwm1_default: pwm1_default {
480 pinctrl_pwm2_default: pwm2_default {
485 pinctrl_pwm3_default: pwm3_default {
490 pinctrl_pwm4_default: pwm4_default {
495 pinctrl_pwm5_default: pwm5_default {
500 pinctrl_pwm6_default: pwm6_default {
505 pinctrl_pwm7_default: pwm7_default {
510 pinctrl_rgmii1_default: rgmii1_default {
515 pinctrl_rgmii2_default: rgmii2_default {
520 pinctrl_rmii1_default: rmii1_default {
525 pinctrl_rmii2_default: rmii2_default {
530 pinctrl_rom16_default: rom16_default {
535 pinctrl_rom8_default: rom8_default {
540 pinctrl_romcs1_default: romcs1_default {
545 pinctrl_romcs2_default: romcs2_default {
550 pinctrl_romcs3_default: romcs3_default {
555 pinctrl_romcs4_default: romcs4_default {
560 pinctrl_rxd1_default: rxd1_default {
565 pinctrl_rxd2_default: rxd2_default {
570 pinctrl_rxd3_default: rxd3_default {
575 pinctrl_rxd4_default: rxd4_default {
580 pinctrl_salt1_default: salt1_default {
585 pinctrl_salt2_default: salt2_default {
590 pinctrl_salt3_default: salt3_default {
595 pinctrl_salt4_default: salt4_default {
600 pinctrl_sd1_default: sd1_default {
605 pinctrl_sd2_default: sd2_default {
610 pinctrl_sgpmck_default: sgpmck_default {
615 pinctrl_sgpmi_default: sgpmi_default {
620 pinctrl_sgpmld_default: sgpmld_default {
625 pinctrl_sgpmo_default: sgpmo_default {
630 pinctrl_sgpsck_default: sgpsck_default {
635 pinctrl_sgpsi0_default: sgpsi0_default {
640 pinctrl_sgpsi1_default: sgpsi1_default {
645 pinctrl_sgpsld_default: sgpsld_default {
650 pinctrl_sioonctrl_default: sioonctrl_default {
651 function = "SIOONCTRL";
652 groups = "SIOONCTRL";
655 pinctrl_siopbi_default: siopbi_default {
660 pinctrl_siopbo_default: siopbo_default {
665 pinctrl_siopwreq_default: siopwreq_default {
666 function = "SIOPWREQ";
670 pinctrl_siopwrgd_default: siopwrgd_default {
671 function = "SIOPWRGD";
675 pinctrl_sios3_default: sios3_default {
680 pinctrl_sios5_default: sios5_default {
685 pinctrl_siosci_default: siosci_default {
690 pinctrl_spi1_default: spi1_default {
695 pinctrl_spi1debug_default: spi1debug_default {
696 function = "SPI1DEBUG";
697 groups = "SPI1DEBUG";
700 pinctrl_spi1passthru_default: spi1passthru_default {
701 function = "SPI1PASSTHRU";
702 groups = "SPI1PASSTHRU";
705 pinctrl_spics1_default: spics1_default {
710 pinctrl_timer3_default: timer3_default {
715 pinctrl_timer4_default: timer4_default {
720 pinctrl_timer5_default: timer5_default {
725 pinctrl_timer6_default: timer6_default {
730 pinctrl_timer7_default: timer7_default {
735 pinctrl_timer8_default: timer8_default {
740 pinctrl_txd1_default: txd1_default {
745 pinctrl_txd2_default: txd2_default {
750 pinctrl_txd3_default: txd3_default {
755 pinctrl_txd4_default: txd4_default {
760 pinctrl_uart6_default: uart6_default {
765 pinctrl_usbcki_default: usbcki_default {
770 pinctrl_vgabios_rom_default: vgabios_rom_default {
771 function = "VGABIOS_ROM";
772 groups = "VGABIOS_ROM";
775 pinctrl_vgahs_default: vgahs_default {
780 pinctrl_vgavs_default: vgavs_default {
785 pinctrl_vpi18_default: vpi18_default {
790 pinctrl_vpi24_default: vpi24_default {
795 pinctrl_vpi30_default: vpi30_default {
800 pinctrl_vpo12_default: vpo12_default {
805 pinctrl_vpo24_default: vpo24_default {
810 pinctrl_wdtrst1_default: wdtrst1_default {
811 function = "WDTRST1";
815 pinctrl_wdtrst2_default: wdtrst2_default {
816 function = "WDTRST2";
823 clk_apb: clk_apb@1e6e2008 {
825 compatible = "aspeed,g4-apb-clock";
826 reg = <0x1e6e2008 0x4>;
827 clocks = <&clk_hpll>;
830 clk_uart: clk_uart@1e6e2008 {
832 compatible = "aspeed,uart-clock";
833 reg = <0x1e6e202c 0x4>;
837 compatible = "mmio-sram";
838 reg = <0x1e720000 0x8000>; // 32K
841 gpio: gpio@1e780000 {
844 compatible = "aspeed,ast2400-gpio";
845 reg = <0x1e780000 0x1000>;
847 gpio-ranges = <&pinctrl 0 0 220>;
848 interrupt-controller;
851 timer: timer@1e782000 {
852 compatible = "aspeed,ast2400-timer";
853 reg = <0x1e782000 0x90>;
854 // The moxart_timer driver registers only one
855 // interrupt and assumes it's for timer 1
856 //interrupts = <16 17 18 35 36 37 38 39>;
862 compatible = "aspeed,wdt";
863 reg = <0x1e785000 0x1c>;
868 compatible = "aspeed,wdt";
869 reg = <0x1e785020 0x1c>;
875 uart1: serial@1e783000 {
876 compatible = "ns16550a";
877 reg = <0x1e783000 0x1000>;
880 clocks = <&clk_uart>;
885 uart2: serial@1e78d000 {
886 compatible = "ns16550a";
887 reg = <0x1e78d000 0x1000>;
890 clocks = <&clk_uart>;
895 uart3: serial@1e78e000 {
896 compatible = "ns16550a";
897 reg = <0x1e78e000 0x1000>;
900 clocks = <&clk_uart>;
905 uart4: serial@1e78f000 {
906 compatible = "ns16550a";
907 reg = <0x1e78f000 0x1000>;
910 clocks = <&clk_uart>;
915 uart5: serial@1e784000 {
916 compatible = "ns16550a";
917 reg = <0x1e784000 0x1000>;
920 clocks = <&clk_uart>;
921 current-speed = <38400>;
926 uart6: serial@1e787000 {
927 compatible = "ns16550a";
928 reg = <0x1e787000 0x1000>;
931 clocks = <&clk_uart>;