-
Notifications
You must be signed in to change notification settings - Fork 85
/
meson-g12a-s905l3a-e900v22c.dts
151 lines (123 loc) · 2.68 KB
/
meson-g12a-s905l3a-e900v22c.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2018 Amlogic, Inc. All rights reserved.
* Create by flippy
*/
/dts-v1/;
#include "meson-g12a-u200.dts"
/ {
compatible = "skyworth,e900v22c", "amlogic,g12a";
model = "SKYWORTH E900V22C";
vddgpu: regulator-vddgpu {
compatible = "regulator-fixed";
regulator-name = "mali";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <800000>;
vin-supply = <&main_12v>;
regulator-boot-on;
regulator-always-on;
};
wifi32k: wifi32k {
compatible = "pwm-clock";
#clock-cells = <0>;
clock-frequency = <32768>;
pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
};
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
clocks = <&wifi32k>;
clock-names = "ext_clock";
};
leds {
compatible = "gpio-leds";
power_led {
led_name = "power_led";
gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>;
default-state = "on";
};
net_led {
led_name = "net_led";
gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "0.0:00:link";
};
remote_led {
led_name = "remote_led";
gpios = <&gpio_ao GPIOAO_10 GPIO_ACTIVE_LOW>;
default-state = "off";
linux,default-trigger = "rc-feedback";
};
};
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0 0x80000000>;
};
};
&mali {
mali-supply=<&vddgpu>;
};
/* SDIO */
&sd_emmc_a {
status = "okay";
pinctrl-0 = <&sdio_pins>;
pinctrl-1 = <&sdio_clk_gate_pins>;
pinctrl-names = "default", "clk-gate";
#address-cells = <1>;
#size-cells = <0>;
bus-width = <4>;
cap-sd-highspeed;
sd-uhs-sdr50;
max-frequency = <100000000>;
non-removable;
disable-wp;
/* WiFi firmware requires power to be kept while in suspend */
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
vmmc-supply = <&vddao_3v3>;
vqmmc-supply = <&vddao_1v8>;
wifi: wifi@1 {
reg = <1>;
compatible = "sprd,unisoc-wifi";
};
};
/* SD card */
&sd_emmc_b {
status = "okay";
bus-width = <4>;
cap-sd-highspeed;
max-frequency = <50000000>;
};
/* eMMC */
&sd_emmc_c {
status = "okay";
bus-width = <8>;
cap-mmc-highspeed;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
max-frequency = <200000000>;
};
/* CPU Overclock */
&cpu_opp_table {
opp-100000000 {
status = "disabled";
};
opp-250000000 {
status = "disabled";
};
opp-500000000 {
status = "disabled";
};
opp-667000000 {
status = "disabled";
};
opp-1908000000 {
opp-hz = /bits/ 64 <1908000000>;
opp-microvolt = <1001000>;
};
/* 2016mhz : not test */
//opp-2016000000 {
// opp-hz = /bits/ 64 <2016000000>;
// opp-microvolt = <1021000>;
//};
};