1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 2023, Intel Corporation 4 */ 5#include "socfpga_agilex5.dtsi" 6 7/ { 8 model = "SoCFPGA Agilex5 SoCDK"; 9 compatible = "intel,socfpga-agilex5-socdk", "intel,socfpga-agilex5"; 10 11 aliases { 12 serial0 = &uart0; 13 ethernet0 = &gmac0; 14 ethernet1 = &gmac1; 15 ethernet2 = &gmac2; 16 }; 17 18 chosen { 19 stdout-path = "serial0:115200n8"; 20 }; 21 22 leds { 23 compatible = "gpio-leds"; 24 25 led-0 { 26 label = "hps_led0"; 27 gpios = <&porta 11 GPIO_ACTIVE_HIGH>; 28 }; 29 30 }; 31 32 memory@80000000 { 33 device_type = "memory"; 34 /* We expect the bootloader to fill in the reg */ 35 reg = <0x0 0x80000000 0x0 0x0>; 36 }; 37}; 38 39&gpio0 { 40 status = "okay"; 41}; 42 43&gmac2 { 44 status = "okay"; 45 phy-mode = "rgmii-id"; 46 phy-handle = <&emac2_phy0>; 47 max-frame-size = <9000>; 48 49 mdio0 { 50 #address-cells = <1>; 51 #size-cells = <0>; 52 compatible = "snps,dwmac-mdio"; 53 54 emac2_phy0: ethernet-phy@0 { 55 reg = <0>; 56 }; 57 }; 58}; 59 60&gpio1 { 61 status = "okay"; 62}; 63 64&osc1 { 65 clock-frequency = <25000000>; 66}; 67 68&qspi { 69 status = "okay"; 70 flash@0 { 71 compatible = "micron,mt25qu02g", "jedec,spi-nor"; 72 reg = <0>; 73 spi-max-frequency = <100000000>; 74 m25p,fast-read; 75 cdns,read-delay = <2>; 76 cdns,tshsl-ns = <50>; 77 cdns,tsd2d-ns = <50>; 78 cdns,tchsh-ns = <4>; 79 cdns,tslch-ns = <4>; 80 81 partitions { 82 compatible = "fixed-partitions"; 83 #address-cells = <1>; 84 #size-cells = <1>; 85 86 qspi_boot: partition@0 { 87 label = "u-boot"; 88 reg = <0x0 0x04200000>; 89 }; 90 91 root: partition@4200000 { 92 label = "root"; 93 reg = <0x04200000 0x0be00000>; 94 }; 95 }; 96 }; 97}; 98 99&uart0 { 100 status = "okay"; 101}; 102 103&usb0 { 104 status = "okay"; 105 disable-over-current; 106}; 107 108&watchdog0 { 109 status = "okay"; 110}; 111