-
Notifications
You must be signed in to change notification settings - Fork 11
/
gxm_kvim2.dts
128 lines (111 loc) · 3.03 KB
/
gxm_kvim2.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
#include "gxm_q200_2g.dts"
/{
le-dt-id = "gxm_kvim2";
compatible = "kvim";
amlogic-dt-id = "kvim";
memory@00000000 {
/delete-property/ linux,usable-memory;
linux,usable-memory-2g = <0x0 0x00100000 0x0 0x7ff00000>;
linux,usable-memory-3g = <0x0 0x00100000 0x0 0xbff00000>;
};
sysled {
led_gpio = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
};
fan {
compatible = "fanctl";
fan_ctl0 = <&gpio GPIODV_14 GPIO_ACTIVE_HIGH>;
fan_ctl1 = <&gpio GPIODV_15 GPIO_ACTIVE_HIGH>;
trig_temp_level0 = <50>;
trig_temp_level1 = <60>;
trig_temp_level2 = <70>;
};
meson-fb {
/delete-property/ logo_addr;
logo_addr_2g = "0x7d851000";
logo_addr_3g = "0xbd851000"; /*ion base + fb0 memory size for uboot logo osd1*/
};
uart_AO_B: serial@c81004e0 {
status = "okay";
};
dwc2_a {
controller-type = <2>; /** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
};
adc_keypad{
compatible = "amlogic, adc_keypad";
status = "okay";
key_name = "home";
key_num = <1>;
key_code = <102>;
key_chan = <0>;
key_val = <10>;
key_tolerance = <40>;
};
dvb {
compatible = "amlogic,dvb";
dev_name = "dvb";
ts0 = "parallel";
ts0_control = <0x0>;
ts0_invert = <0x0>;
fec_reset_gpio-gpios = <&gpio GPIODV_13 GPIO_ACTIVE_HIGH>;
power_ctrl_gpio-gpios = <&gpio GPIODV_11 GPIO_ACTIVE_LOW>;
pinctrl-names = "p_ts0", "s_ts0", "s_ts1";
pinctrl-0 = <&dvb_p_ts0_pins>;
pinctrl-1 = <&dvb_s_ts0_pins>;
pinctrl-2 = <&dvb_s_ts1_pins>;
resets = <&clock GCLK_IDX_DEMUX &clock GCLK_IDX_ASYNC_FIFO &clock GCLK_IDX_AHB_ARB0 &clock GCLK_IDX_HIU_PARSER_TOP>;
reset-names = "demux", "asyncfifo", "ahbarb0", "uparsertop";
};
dvbfe {
compatible = "amlogic,dvbfe";
//dev_name = "dvbfe";
status = "okay";
dtv_demod0 = "Avl6211";
dtv_demod0_i2c_adap_id = <2>;
dtv_demod0_i2c_addr = <0x60>;
dtv_demod0_reset_value = <0>;
dtv_demod0_reset_gpio-gpios = <&gpio GPIODV_13 GPIO_ACTIVE_LOW>;
dtv_demod0_power_gpio-gpios = <&gpio GPIODV_14 GPIO_ACTIVE_LOW>;
fe0_dtv_demod = <0>;
fe0_ts = <0>;
fe0_dev = <0>;
};
};
&i2c_a {
status = "okay";
};
&i2c_b {
status = "okay";
rtc_hym8563{
compatible = "amlogic, rtc_hym8563";
dev_name = "rtc_hym8563";
status = "okay";
reg = <0x51>;
};
};
&i2c_c {
status = "okay";
};
&i2c_d {
status = "okay";
};
&pinmux {
dvb_p_ts0_pins:dvb_p_ts0_pins {
amlogic,setmask = <0x2 0x1f>;
amlogic,clrmask = <0x3 0x787 0x2 0xff000400>;
amlogic,pins = "GPIODV_0", "GPIODV_1", "GPIODV_2", "GPIODV_3", "GPIODV_4", "GPIODV_5", "GPIODV_6", "GPIODV_7", "GPIODV_8", "GPIODV_9", "GPIODV_10";
};
dvb_s_ts0_pins:dvb_s_ts0_pins {
amlogic,setmask = <0x2 0x17>;
amlogic,clrmask = <0x3 0x584 0x2 0x7000000 0x1 0x100>;
amlogic,pins = "GPIODV_0", "GPIODV_8", "GPIODV_9", "GPIODV_10";
};
dvb_s_ts1_pins:dvb_s_ts1_pins {
amlogic,setmask = <0x3 0x17>;
amlogic,clrmask = <0x2 0xf0000 0x1 0x7>;
amlogic,pins = "GPIODV_0", "GPIODV_8", "GPIODV_9", "GPIODV_10";
};
dtv_params_pin:dtv_params_pin {
amlogic,clrmask = <0x1 0x38000000 0x3 0x80>;
amlogic,pins = "GPIODV_13", "GPIODV_14", "GPIODV_15";
};
};