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