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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/intel/socfpga/socfpga_cyclone5_sodia.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0+
  2 /*
  3  * Copyright (C) 2016 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  4  */
  5 
  6 #include "socfpga_cyclone5.dtsi"
  7 #include <dt-bindings/gpio/gpio.h>
  8 #include <dt-bindings/input/input.h>
  9 
 10 / {
 11         model = "Altera SOCFPGA Cyclone V SoC Macnica Sodia board";
 12         compatible = "macnica,sodia", "altr,socfpga-cyclone5", "altr,socfpga";
 13 
 14         chosen {
 15                 bootargs = "earlyprintk";
 16                 stdout-path = "serial0:115200n8";
 17         };
 18 
 19         memory@0 {
 20                 name = "memory";
 21                 device_type = "memory";
 22                 reg = <0x0 0x40000000>;
 23         };
 24 
 25         aliases {
 26                 ethernet0 = &gmac1;
 27         };
 28 
 29         regulator_3_3v: regulator {
 30                 compatible = "regulator-fixed";
 31                 regulator-name = "3.3V";
 32                 regulator-min-microvolt = <3300000>;
 33                 regulator-max-microvolt = <3300000>;
 34         };
 35 
 36         leds: gpio-leds {
 37                 compatible = "gpio-leds";
 38 
 39                 hps_led0 {
 40                         label = "hps:green:led0";
 41                         gpios = <&portb 12 GPIO_ACTIVE_LOW>;
 42                 };
 43 
 44                 hps_led1 {
 45                         label = "hps:green:led1";
 46                         gpios = <&portb 13 GPIO_ACTIVE_LOW>;
 47                 };
 48 
 49                 hps_led2 {
 50                         label = "hps:green:led2";
 51                         gpios = <&portb 14 GPIO_ACTIVE_LOW>;
 52                 };
 53 
 54                 hps_led3 {
 55                         label = "hps:green:led3";
 56                         gpios = <&portb 15 GPIO_ACTIVE_LOW>;
 57                 };
 58         };
 59 };
 60 
 61 &gmac1 {
 62         status = "okay";
 63         phy-mode = "rgmii";
 64         phy = <&phy0>;
 65 
 66         mdio0 {
 67                 #address-cells = <1>;
 68                 #size-cells = <0>;
 69                 phy0: ethernet-phy@0 {
 70                         reg = <0>;
 71                         rxd0-skew-ps = <0>;
 72                         rxd1-skew-ps = <0>;
 73                         rxd2-skew-ps = <0>;
 74                         rxd3-skew-ps = <0>;
 75                         rxdv-skew-ps = <0>;
 76                         rxc-skew-ps = <3000>;
 77                         txen-skew-ps = <0>;
 78                         txc-skew-ps = <3000>;
 79                 };
 80         };
 81 };
 82 
 83 &gpio1 {
 84         status = "okay";
 85 };
 86 
 87 &i2c0 {
 88         status = "okay";
 89 
 90         eeprom@51 {
 91                 compatible = "atmel,24c32";
 92                 reg = <0x51>;
 93                 pagesize = <32>;
 94         };
 95 
 96         rtc@68 {
 97                 compatible = "dallas,ds1339";
 98                 reg = <0x68>;
 99         };
100 };
101 
102 &mmc0 {
103         cd-gpios = <&portb 18 0>;
104         vmmc-supply = <&regulator_3_3v>;
105         vqmmc-supply = <&regulator_3_3v>;
106         status = "okay";
107 };
108 
109 &usb1 {
110         status = "okay";
111 };
112 
113 &qspi {
114         status = "okay";
115 
116         flash0: flash@0 {
117                 #address-cells = <1>;
118                 #size-cells = <1>;
119                 compatible = "micron,n25q512a", "jedec,spi-nor";
120                 reg = <0>;
121                 spi-max-frequency = <100000000>;
122 
123                 m25p,fast-read;
124                 cdns,read-delay = <4>;
125                 cdns,tshsl-ns = <50>;
126                 cdns,tsd2d-ns = <50>;
127                 cdns,tchsh-ns = <4>;
128                 cdns,tslch-ns = <4>;
129         };
130 };

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