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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/intel/socfpga/socfpga_cyclone5_chameleon96.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 OR MIT)
  2 /*
  3  * Device Tree file for the Chameleon96
  4  *
  5  * Copyright (c) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
  6  */
  7 
  8 #include <dt-bindings/gpio/gpio.h>
  9 
 10 #include "socfpga_cyclone5.dtsi"
 11 
 12 / {
 13         model = "Novetech Chameleon96";
 14         compatible = "novtech,chameleon96", "altr,socfpga-cyclone5", "altr,socfpga";
 15 
 16         chosen {
 17                 bootargs = "earlyprintk";
 18                 stdout-path = "serial0:115200n8";
 19         };
 20 
 21         memory@0 {
 22                 name = "memory";
 23                 device_type = "memory";
 24                 reg = <0x0 0x20000000>; /* 512MB */
 25         };
 26 
 27         regulator_3_3v: regulator {
 28                 compatible = "regulator-fixed";
 29                 regulator-name = "3.3V";
 30                 regulator-min-microvolt = <3300000>;
 31                 regulator-max-microvolt = <3300000>;
 32         };
 33 
 34         leds {
 35                 compatible = "gpio-leds";
 36 
 37                 user_led1 {
 38                         label = "green:user1";
 39                         gpios = <&porta 14 GPIO_ACTIVE_LOW>;
 40                         linux,default-trigger = "heartbeat";
 41                 };
 42 
 43                 user_led2 {
 44                         label = "green:user2";
 45                         gpios = <&porta 22 GPIO_ACTIVE_LOW>;
 46                         linux,default-trigger = "mmc0";
 47                 };
 48 
 49                 user_led3 {
 50                         label = "green:user3";
 51                         gpios = <&porta 25 GPIO_ACTIVE_LOW>;
 52                         linux,default-trigger = "none";
 53                 };
 54 
 55                 user_led4 {
 56                         label = "green:user4";
 57                         gpios = <&portb 3 GPIO_ACTIVE_LOW>;
 58                         panic-indicator;
 59                         linux,default-trigger = "none";
 60                 };
 61         };
 62 };
 63 
 64 &gpio0 {
 65         status = "okay";
 66 };
 67 
 68 &gpio1 {
 69         status = "okay";
 70 };
 71 
 72 &i2c0 {
 73         /* On Low speed expansion */
 74         label = "LS-I2C0";
 75         status = "okay";
 76 };
 77 
 78 &i2c1 {
 79         /* On Low speed expansion */
 80         label = "LS-I2C1";
 81         status = "okay";
 82 };
 83 
 84 &i2c2 {
 85         status = "okay";
 86 };
 87 
 88 &i2c3 {
 89         /* On High speed expansion */
 90         label = "HS-I2C2";
 91         status = "okay";
 92 };
 93 
 94 &mmc0 {
 95         vmmc-supply = <&regulator_3_3v>;
 96         vqmmc-supply = <&regulator_3_3v>;
 97         status = "okay";
 98 };
 99 
100 &spi0 {
101         /* On High speed expansion */
102         label = "HS-SPI1";
103         status = "okay";
104 };
105 
106 &spi1 {
107         /* On Low speed expansion */
108         label = "LS-SPI0";
109         status = "okay";
110 };
111 
112 &uart0 {
113         /* On Low speed expansion */
114         label = "LS-UART1";
115         status = "okay";
116 };
117 
118 &uart1 {
119         /* On Low speed expansion */
120         label = "LS-UART0";
121         status = "okay";
122 };
123 
124 &usbphy0 {
125         status = "okay";
126 };
127 
128 &usb1 {
129         status = "okay";
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