14b36daf9SDinh Nguyen// SPDX-License-Identifier: GPL-2.0 24b36daf9SDinh Nguyen/* 34b36daf9SDinh Nguyen * Copyright (C) 2019, Intel Corporation 44b36daf9SDinh Nguyen */ 54b36daf9SDinh Nguyen#include "socfpga_agilex.dtsi" 64b36daf9SDinh Nguyen 74b36daf9SDinh Nguyen/ { 84b36daf9SDinh Nguyen model = "SoCFPGA Agilex SoCDK"; 950ae688aSKrzysztof Kozlowski compatible = "intel,socfpga-agilex-socdk", "intel,socfpga-agilex"; 104b36daf9SDinh Nguyen 114b36daf9SDinh Nguyen aliases { 124b36daf9SDinh Nguyen serial0 = &uart0; 134b36daf9SDinh Nguyen ethernet0 = &gmac0; 144b36daf9SDinh Nguyen ethernet1 = &gmac1; 154b36daf9SDinh Nguyen ethernet2 = &gmac2; 164b36daf9SDinh Nguyen }; 174b36daf9SDinh Nguyen 184b36daf9SDinh Nguyen chosen { 194b36daf9SDinh Nguyen stdout-path = "serial0:115200n8"; 204b36daf9SDinh Nguyen }; 214b36daf9SDinh Nguyen 2205c9c5a9SDinh Nguyen leds { 2305c9c5a9SDinh Nguyen compatible = "gpio-leds"; 2481492774SKrzysztof Kozlowski led0 { 2505c9c5a9SDinh Nguyen label = "hps_led0"; 2605c9c5a9SDinh Nguyen gpios = <&portb 20 GPIO_ACTIVE_HIGH>; 2705c9c5a9SDinh Nguyen }; 2805c9c5a9SDinh Nguyen 2981492774SKrzysztof Kozlowski led1 { 3005c9c5a9SDinh Nguyen label = "hps_led1"; 3105c9c5a9SDinh Nguyen gpios = <&portb 19 GPIO_ACTIVE_HIGH>; 3205c9c5a9SDinh Nguyen }; 3305c9c5a9SDinh Nguyen 3481492774SKrzysztof Kozlowski led2 { 3505c9c5a9SDinh Nguyen label = "hps_led2"; 3605c9c5a9SDinh Nguyen gpios = <&portb 21 GPIO_ACTIVE_HIGH>; 3705c9c5a9SDinh Nguyen }; 3805c9c5a9SDinh Nguyen }; 3905c9c5a9SDinh Nguyen 40b2c62c39SDinh Nguyen memory@80000000 { 414b36daf9SDinh Nguyen device_type = "memory"; 424b36daf9SDinh Nguyen /* We expect the bootloader to fill in the reg */ 43b2c62c39SDinh Nguyen reg = <0 0x80000000 0 0>; 444b36daf9SDinh Nguyen }; 454b36daf9SDinh Nguyen}; 464b36daf9SDinh Nguyen 474b36daf9SDinh Nguyen&gpio1 { 484b36daf9SDinh Nguyen status = "okay"; 494b36daf9SDinh Nguyen}; 504b36daf9SDinh Nguyen 514b36daf9SDinh Nguyen&gmac0 { 524b36daf9SDinh Nguyen status = "okay"; 534b36daf9SDinh Nguyen phy-mode = "rgmii"; 544b36daf9SDinh Nguyen phy-handle = <&phy0>; 554b36daf9SDinh Nguyen 564b36daf9SDinh Nguyen max-frame-size = <9000>; 574b36daf9SDinh Nguyen 584b36daf9SDinh Nguyen mdio0 { 594b36daf9SDinh Nguyen #address-cells = <1>; 604b36daf9SDinh Nguyen #size-cells = <0>; 614b36daf9SDinh Nguyen compatible = "snps,dwmac-mdio"; 624b36daf9SDinh Nguyen phy0: ethernet-phy@0 { 634b36daf9SDinh Nguyen reg = <4>; 644b36daf9SDinh Nguyen 654b36daf9SDinh Nguyen txd0-skew-ps = <0>; /* -420ps */ 664b36daf9SDinh Nguyen txd1-skew-ps = <0>; /* -420ps */ 674b36daf9SDinh Nguyen txd2-skew-ps = <0>; /* -420ps */ 684b36daf9SDinh Nguyen txd3-skew-ps = <0>; /* -420ps */ 694b36daf9SDinh Nguyen rxd0-skew-ps = <420>; /* 0ps */ 704b36daf9SDinh Nguyen rxd1-skew-ps = <420>; /* 0ps */ 714b36daf9SDinh Nguyen rxd2-skew-ps = <420>; /* 0ps */ 724b36daf9SDinh Nguyen rxd3-skew-ps = <420>; /* 0ps */ 734b36daf9SDinh Nguyen txen-skew-ps = <0>; /* -420ps */ 744b36daf9SDinh Nguyen txc-skew-ps = <900>; /* 0ps */ 754b36daf9SDinh Nguyen rxdv-skew-ps = <420>; /* 0ps */ 764b36daf9SDinh Nguyen rxc-skew-ps = <1680>; /* 780ps */ 774b36daf9SDinh Nguyen }; 784b36daf9SDinh Nguyen }; 794b36daf9SDinh Nguyen}; 804b36daf9SDinh Nguyen 814b36daf9SDinh Nguyen&mmc { 824b36daf9SDinh Nguyen status = "okay"; 834b36daf9SDinh Nguyen cap-sd-highspeed; 844b36daf9SDinh Nguyen broken-cd; 854b36daf9SDinh Nguyen bus-width = <4>; 8631354121SDinh Nguyen clk-phase-sd-hs = <0>, <135>; 874b36daf9SDinh Nguyen}; 884b36daf9SDinh Nguyen 8915e26f69SKrzysztof Kozlowski&osc1 { 9015e26f69SKrzysztof Kozlowski clock-frequency = <25000000>; 9115e26f69SKrzysztof Kozlowski}; 9215e26f69SKrzysztof Kozlowski 934b36daf9SDinh Nguyen&uart0 { 944b36daf9SDinh Nguyen status = "okay"; 954b36daf9SDinh Nguyen}; 964b36daf9SDinh Nguyen 9705c9c5a9SDinh Nguyen&usb0 { 9805c9c5a9SDinh Nguyen status = "okay"; 9905c9c5a9SDinh Nguyen disable-over-current; 10005c9c5a9SDinh Nguyen}; 10105c9c5a9SDinh Nguyen 1024b36daf9SDinh Nguyen&watchdog0 { 1034b36daf9SDinh Nguyen status = "okay"; 1044b36daf9SDinh Nguyen}; 105c4c8757bSOoi, Joyce 106c4c8757bSOoi, Joyce&qspi { 10760176e6bSDinh Nguyen status = "okay"; 108c4c8757bSOoi, Joyce flash@0 { 109f126b670SDinh Nguyen compatible = "micron,mt25qu02g", "jedec,spi-nor"; 110c4c8757bSOoi, Joyce reg = <0>; 111c4c8757bSOoi, Joyce spi-max-frequency = <100000000>; 112c4c8757bSOoi, Joyce 113c4c8757bSOoi, Joyce m25p,fast-read; 1140501418eSDinh Nguyen cdns,read-delay = <2>; 115c4c8757bSOoi, Joyce cdns,tshsl-ns = <50>; 116c4c8757bSOoi, Joyce cdns,tsd2d-ns = <50>; 117c4c8757bSOoi, Joyce cdns,tchsh-ns = <4>; 118c4c8757bSOoi, Joyce cdns,tslch-ns = <4>; 119c4c8757bSOoi, Joyce 120c4c8757bSOoi, Joyce partitions { 121c4c8757bSOoi, Joyce compatible = "fixed-partitions"; 122c4c8757bSOoi, Joyce #address-cells = <1>; 123c4c8757bSOoi, Joyce #size-cells = <1>; 124c4c8757bSOoi, Joyce 125c4c8757bSOoi, Joyce qspi_boot: partition@0 { 126c4c8757bSOoi, Joyce label = "Boot and fpga data"; 127*e141277eSAlif Zakuan Yuslaimi reg = <0x0 0x04200000>; 128c4c8757bSOoi, Joyce }; 129c4c8757bSOoi, Joyce 130*e141277eSAlif Zakuan Yuslaimi root: partition@4200000 { 131*e141277eSAlif Zakuan Yuslaimi label = "Root Filesystem - UBIFS"; 132*e141277eSAlif Zakuan Yuslaimi reg = <0x04200000 0x0BE00000>; 133c4c8757bSOoi, Joyce }; 134c4c8757bSOoi, Joyce }; 135c4c8757bSOoi, Joyce }; 136c4c8757bSOoi, Joyce}; 137