1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Copyright (c) 2020 thingy.jp. 4*724ba675SRob Herring * Author: Daniel Palmer <daniel@thingy.jp> 5*724ba675SRob Herring */ 6*724ba675SRob Herring 7*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 8*724ba675SRob Herring 9*724ba675SRob Herring/ { 10*724ba675SRob Herring vcc_core: fixedregulator@0 { 11*724ba675SRob Herring compatible = "regulator-fixed"; 12*724ba675SRob Herring regulator-name = "vcc_core"; 13*724ba675SRob Herring regulator-min-microvolt = <1000000>; 14*724ba675SRob Herring regulator-max-microvolt = <1000000>; 15*724ba675SRob Herring regulator-boot-on; 16*724ba675SRob Herring }; 17*724ba675SRob Herring 18*724ba675SRob Herring vcc_dram: fixedregulator@1 { 19*724ba675SRob Herring compatible = "regulator-fixed"; 20*724ba675SRob Herring regulator-name = "vcc_dram"; 21*724ba675SRob Herring regulator-min-microvolt = <1800000>; 22*724ba675SRob Herring regulator-max-microvolt = <1800000>; 23*724ba675SRob Herring regulator-boot-on; 24*724ba675SRob Herring }; 25*724ba675SRob Herring 26*724ba675SRob Herring vcc_io: fixedregulator@2 { 27*724ba675SRob Herring compatible = "regulator-fixed"; 28*724ba675SRob Herring regulator-name = "vcc_io"; 29*724ba675SRob Herring regulator-min-microvolt = <3300000>; 30*724ba675SRob Herring regulator-max-microvolt = <3300000>; 31*724ba675SRob Herring regulator-boot-on; 32*724ba675SRob Herring }; 33*724ba675SRob Herring 34*724ba675SRob Herring leds { 35*724ba675SRob Herring compatible = "gpio-leds"; 36*724ba675SRob Herring red { 37*724ba675SRob Herring gpios = <&gpio MSC313_GPIO_SR_IO16 GPIO_ACTIVE_HIGH>; 38*724ba675SRob Herring linux,default-trigger = "activity"; 39*724ba675SRob Herring }; 40*724ba675SRob Herring yellow { 41*724ba675SRob Herring gpios = <&gpio MSC313_GPIO_SR_IO17 GPIO_ACTIVE_HIGH>; 42*724ba675SRob Herring linux,default-trigger = "heartbeat"; 43*724ba675SRob Herring }; 44*724ba675SRob Herring }; 45*724ba675SRob Herring}; 46*724ba675SRob Herring 47*724ba675SRob Herring&cpu0 { 48*724ba675SRob Herring cpu-supply = <&vcc_core>; 49*724ba675SRob Herring}; 50