~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier:     GPL-2.0
  2 /*
  3  * Copyright (C) 2019, Intel Corporation
  4  */
  5 #include "socfpga_agilex.dtsi"
  6 
  7 / {
  8         model = "SoCFPGA Agilex SoCDK";
  9         compatible = "intel,socfpga-agilex-socdk", "intel,socfpga-agilex";
 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                 led0 {
 25                         label = "hps_led0";
 26                         gpios = <&portb 20 GPIO_ACTIVE_HIGH>;
 27                 };
 28 
 29                 led1 {
 30                         label = "hps_led1";
 31                         gpios = <&portb 19 GPIO_ACTIVE_HIGH>;
 32                 };
 33 
 34                 led2 {
 35                         label = "hps_led2";
 36                         gpios = <&portb 21 GPIO_ACTIVE_HIGH>;
 37                 };
 38         };
 39 
 40         memory@80000000 {
 41                 device_type = "memory";
 42                 /* We expect the bootloader to fill in the reg */
 43                 reg = <0 0x80000000 0 0>;
 44         };
 45 };
 46 
 47 &gpio1 {
 48         status = "okay";
 49 };
 50 
 51 &gmac2 {
 52         status = "okay";
 53         phy-mode = "rgmii";
 54         phy-handle = <&phy0>;
 55 
 56         max-frame-size = <9000>;
 57 
 58         mdio0 {
 59                 #address-cells = <1>;
 60                 #size-cells = <0>;
 61                 compatible = "snps,dwmac-mdio";
 62                 phy0: ethernet-phy@0 {
 63                         reg = <4>;
 64 
 65                         txd0-skew-ps = <0>; /* -420ps */
 66                         txd1-skew-ps = <0>; /* -420ps */
 67                         txd2-skew-ps = <0>; /* -420ps */
 68                         txd3-skew-ps = <0>; /* -420ps */
 69                         rxd0-skew-ps = <420>; /* 0ps */
 70                         rxd1-skew-ps = <420>; /* 0ps */
 71                         rxd2-skew-ps = <420>; /* 0ps */
 72                         rxd3-skew-ps = <420>; /* 0ps */
 73                         txen-skew-ps = <0>; /* -420ps */
 74                         txc-skew-ps = <900>; /* 0ps */
 75                         rxdv-skew-ps = <420>; /* 0ps */
 76                         rxc-skew-ps = <1680>; /* 780ps */
 77                 };
 78         };
 79 };
 80 
 81 &nand {
 82         status = "okay";
 83 
 84         flash@0 {
 85                 #address-cells = <1>;
 86                 #size-cells = <1>;
 87                 reg = <0>;
 88                 nand-bus-width = <16>;
 89 
 90                 partition@0 {
 91                         label = "u-boot";
 92                         reg = <0 0x200000>;
 93                 };
 94                 partition@200000 {
 95                         label = "root";
 96                         reg = <0x200000 0x3fe00000>;
 97                 };
 98         };
 99 };
100 
101 &osc1 {
102         clock-frequency = <25000000>;
103 };
104 
105 &uart0 {
106         status = "okay";
107 };
108 
109 &usb0 {
110         status = "okay";
111         disable-over-current;
112 };
113 
114 &watchdog0 {
115         status = "okay";
116 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php