13c0f3b85SDinh Nguyen// SPDX-License-Identifier: GPL-2.0 23c0f3b85SDinh Nguyen/* 33c0f3b85SDinh Nguyen * Copyright (C) 2019, Intel Corporation 43c0f3b85SDinh Nguyen */ 53c0f3b85SDinh Nguyen#include "socfpga_agilex.dtsi" 63c0f3b85SDinh Nguyen 73c0f3b85SDinh Nguyen/ { 83c0f3b85SDinh Nguyen model = "SoCFPGA Agilex SoCDK"; 950ae688aSKrzysztof Kozlowski compatible = "intel,socfpga-agilex-socdk", "intel,socfpga-agilex"; 103c0f3b85SDinh Nguyen 113c0f3b85SDinh Nguyen aliases { 123c0f3b85SDinh Nguyen serial0 = &uart0; 133c0f3b85SDinh Nguyen ethernet0 = &gmac0; 143c0f3b85SDinh Nguyen ethernet1 = &gmac1; 153c0f3b85SDinh Nguyen ethernet2 = &gmac2; 163c0f3b85SDinh Nguyen }; 173c0f3b85SDinh Nguyen 183c0f3b85SDinh Nguyen chosen { 193c0f3b85SDinh Nguyen stdout-path = "serial0:115200n8"; 203c0f3b85SDinh Nguyen }; 213c0f3b85SDinh Nguyen 223c0f3b85SDinh Nguyen leds { 233c0f3b85SDinh Nguyen compatible = "gpio-leds"; 244a3b394fSKrzysztof Kozlowski led0 { 253c0f3b85SDinh Nguyen label = "hps_led0"; 263c0f3b85SDinh Nguyen gpios = <&portb 20 GPIO_ACTIVE_HIGH>; 273c0f3b85SDinh Nguyen }; 283c0f3b85SDinh Nguyen 294a3b394fSKrzysztof Kozlowski led1 { 303c0f3b85SDinh Nguyen label = "hps_led1"; 313c0f3b85SDinh Nguyen gpios = <&portb 19 GPIO_ACTIVE_HIGH>; 323c0f3b85SDinh Nguyen }; 333c0f3b85SDinh Nguyen 344a3b394fSKrzysztof Kozlowski led2 { 353c0f3b85SDinh Nguyen label = "hps_led2"; 363c0f3b85SDinh Nguyen gpios = <&portb 21 GPIO_ACTIVE_HIGH>; 373c0f3b85SDinh Nguyen }; 383c0f3b85SDinh Nguyen }; 393c0f3b85SDinh Nguyen 40*b2c62c39SDinh Nguyen memory@80000000 { 413c0f3b85SDinh Nguyen device_type = "memory"; 423c0f3b85SDinh Nguyen /* We expect the bootloader to fill in the reg */ 43*b2c62c39SDinh Nguyen reg = <0 0x80000000 0 0>; 443c0f3b85SDinh Nguyen }; 453c0f3b85SDinh Nguyen}; 463c0f3b85SDinh Nguyen 473c0f3b85SDinh Nguyen&gpio1 { 483c0f3b85SDinh Nguyen status = "okay"; 493c0f3b85SDinh Nguyen}; 503c0f3b85SDinh Nguyen 513c0f3b85SDinh Nguyen&gmac2 { 523c0f3b85SDinh Nguyen status = "okay"; 533c0f3b85SDinh Nguyen phy-mode = "rgmii"; 543c0f3b85SDinh Nguyen phy-handle = <&phy0>; 553c0f3b85SDinh Nguyen 563c0f3b85SDinh Nguyen max-frame-size = <9000>; 573c0f3b85SDinh Nguyen 583c0f3b85SDinh Nguyen mdio0 { 593c0f3b85SDinh Nguyen #address-cells = <1>; 603c0f3b85SDinh Nguyen #size-cells = <0>; 613c0f3b85SDinh Nguyen compatible = "snps,dwmac-mdio"; 623c0f3b85SDinh Nguyen phy0: ethernet-phy@0 { 633c0f3b85SDinh Nguyen reg = <4>; 643c0f3b85SDinh Nguyen 653c0f3b85SDinh Nguyen txd0-skew-ps = <0>; /* -420ps */ 663c0f3b85SDinh Nguyen txd1-skew-ps = <0>; /* -420ps */ 673c0f3b85SDinh Nguyen txd2-skew-ps = <0>; /* -420ps */ 683c0f3b85SDinh Nguyen txd3-skew-ps = <0>; /* -420ps */ 693c0f3b85SDinh Nguyen rxd0-skew-ps = <420>; /* 0ps */ 703c0f3b85SDinh Nguyen rxd1-skew-ps = <420>; /* 0ps */ 713c0f3b85SDinh Nguyen rxd2-skew-ps = <420>; /* 0ps */ 723c0f3b85SDinh Nguyen rxd3-skew-ps = <420>; /* 0ps */ 733c0f3b85SDinh Nguyen txen-skew-ps = <0>; /* -420ps */ 743c0f3b85SDinh Nguyen txc-skew-ps = <900>; /* 0ps */ 753c0f3b85SDinh Nguyen rxdv-skew-ps = <420>; /* 0ps */ 763c0f3b85SDinh Nguyen rxc-skew-ps = <1680>; /* 780ps */ 773c0f3b85SDinh Nguyen }; 783c0f3b85SDinh Nguyen }; 793c0f3b85SDinh Nguyen}; 803c0f3b85SDinh Nguyen 813c0f3b85SDinh Nguyen&nand { 823c0f3b85SDinh Nguyen status = "okay"; 833c0f3b85SDinh Nguyen 843c0f3b85SDinh Nguyen flash@0 { 853c0f3b85SDinh Nguyen #address-cells = <1>; 863c0f3b85SDinh Nguyen #size-cells = <1>; 873c0f3b85SDinh Nguyen reg = <0>; 883c0f3b85SDinh Nguyen nand-bus-width = <16>; 893c0f3b85SDinh Nguyen 903c0f3b85SDinh Nguyen partition@0 { 913c0f3b85SDinh Nguyen label = "u-boot"; 923c0f3b85SDinh Nguyen reg = <0 0x200000>; 933c0f3b85SDinh Nguyen }; 943c0f3b85SDinh Nguyen partition@200000 { 958dce88feSSin Hui Kho label = "root"; 968dce88feSSin Hui Kho reg = <0x200000 0x3fe00000>; 973c0f3b85SDinh Nguyen }; 983c0f3b85SDinh Nguyen }; 993c0f3b85SDinh Nguyen}; 1003c0f3b85SDinh Nguyen 10115e26f69SKrzysztof Kozlowski&osc1 { 10215e26f69SKrzysztof Kozlowski clock-frequency = <25000000>; 10315e26f69SKrzysztof Kozlowski}; 10415e26f69SKrzysztof Kozlowski 1053c0f3b85SDinh Nguyen&uart0 { 1063c0f3b85SDinh Nguyen status = "okay"; 1073c0f3b85SDinh Nguyen}; 1083c0f3b85SDinh Nguyen 1093c0f3b85SDinh Nguyen&usb0 { 1103c0f3b85SDinh Nguyen status = "okay"; 1113c0f3b85SDinh Nguyen disable-over-current; 1123c0f3b85SDinh Nguyen}; 1133c0f3b85SDinh Nguyen 1143c0f3b85SDinh Nguyen&watchdog0 { 1153c0f3b85SDinh Nguyen status = "okay"; 1163c0f3b85SDinh Nguyen}; 117