1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Device Tree file for the Chameleon96
5 * Copyright (c) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
8 #include <dt-bindings/gpio/gpio.h>
10 #include "socfpga_cyclone5.dtsi"
13 model = "Novetech Chameleon96";
14 compatible = "novtech,chameleon96", "altr,socfpga-cyclone5", "altr,socfpga";
17 bootargs = "earlyprintk";
18 stdout-path = "serial0:115200n8";
23 device_type = "memory";
24 reg = <0x0 0x20000000>; /* 512MB */
27 regulator_3_3v: 3-3-v-regulator {
28 compatible = "regulator-fixed";
29 regulator-name = "3.3V";
30 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
35 compatible = "gpio-leds";
38 label = "green:user1";
39 gpios = <&porta 14 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "heartbeat";
44 label = "green:user2";
45 gpios = <&porta 22 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "mmc0";
50 label = "green:user3";
51 gpios = <&porta 25 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "none";
56 label = "green:user4";
57 gpios = <&portb 3 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "none";
73 /* On Low speed expansion */
79 /* On Low speed expansion */
89 /* On High speed expansion */
95 vmmc-supply = <®ulator_3_3v>;
96 vqmmc-supply = <®ulator_3_3v>;
101 /* On High speed expansion */
107 /* On Low speed expansion */
113 /* On Low speed expansion */
119 /* On Low speed expansion */