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

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.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) 2021, Intel Corporation
  4  */
  5 #include "socfpga_agilex.dtsi"
  6 
  7 / {
  8         model = "eASIC N5X SoCDK";
  9         compatible = "intel,n5x-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         memory@80000000 {
 23                 device_type = "memory";
 24                 /* We expect the bootloader to fill in the reg */
 25                 reg = <0 0x80000000 0 0>;
 26         };
 27 
 28         soc@0 {
 29                 sdram_edac: memory-controller@f87f8000 {
 30                         compatible = "snps,ddrc-3.80a";
 31                         reg = <0xf87f8000 0x400>;
 32                         interrupts = <0 175 4>;
 33                 };
 34         };
 35 };
 36 
 37 &clkmgr {
 38         compatible = "intel,easic-n5x-clkmgr";
 39 };
 40 
 41 &gmac0 {
 42         status = "okay";
 43         phy-mode = "rgmii";
 44         phy-handle = <&phy0>;
 45 
 46         max-frame-size = <9000>;
 47 
 48         mdio0 {
 49                 #address-cells = <1>;
 50                 #size-cells = <0>;
 51                 compatible = "snps,dwmac-mdio";
 52                 phy0: ethernet-phy@0 {
 53                         reg = <4>;
 54 
 55                         txd0-skew-ps = <0>; /* -420ps */
 56                         txd1-skew-ps = <0>; /* -420ps */
 57                         txd2-skew-ps = <0>; /* -420ps */
 58                         txd3-skew-ps = <0>; /* -420ps */
 59                         rxd0-skew-ps = <420>; /* 0ps */
 60                         rxd1-skew-ps = <420>; /* 0ps */
 61                         rxd2-skew-ps = <420>; /* 0ps */
 62                         rxd3-skew-ps = <420>; /* 0ps */
 63                         txen-skew-ps = <0>; /* -420ps */
 64                         txc-skew-ps = <900>; /* 0ps */
 65                         rxdv-skew-ps = <420>; /* 0ps */
 66                         rxc-skew-ps = <1680>; /* 780ps */
 67                 };
 68         };
 69 };
 70 
 71 &mmc {
 72         status = "okay";
 73         cap-sd-highspeed;
 74         broken-cd;
 75         bus-width = <4>;
 76         clk-phase-sd-hs = <0>, <135>;
 77 };
 78 
 79 &osc1 {
 80         clock-frequency = <25000000>;
 81 };
 82 
 83 &qspi {
 84         status = "okay";
 85         flash@0 {
 86                 compatible = "micron,mt25qu02g", "jedec,spi-nor";
 87                 reg = <0>;
 88                 spi-max-frequency = <100000000>;
 89 
 90                 m25p,fast-read;
 91                 cdns,read-delay = <2>;
 92                 cdns,tshsl-ns = <50>;
 93                 cdns,tsd2d-ns = <50>;
 94                 cdns,tchsh-ns = <4>;
 95                 cdns,tslch-ns = <4>;
 96 
 97                 partitions {
 98                         compatible = "fixed-partitions";
 99                         #address-cells = <1>;
100                         #size-cells = <1>;
101 
102                         qspi_boot: partition@0 {
103                                 label = "Boot and fpga data";
104                                 reg = <0x0 0x03FE0000>;
105                         };
106 
107                         qspi_rootfs: partition@3fe0000 {
108                                 label = "Root Filesystem - JFFS2";
109                                 reg = <0x03FE0000 0x0C020000>;
110                         };
111                 };
112         };
113 };
114 
115 &uart0 {
116         status = "okay";
117 };
118 
119 &usb0 {
120         status = "okay";
121         disable-over-current;
122 };
123 
124 &watchdog0 {
125         status = "okay";
126 };

~ [ 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