forked from liberty1776dtom/device-trees-amlogic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gxl_p230_k1_pro.dts
77 lines (66 loc) · 1.91 KB
/
gxl_p230_k1_pro.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
#include "gxl_p230_2g.dts"
/{
le-dt-id = "gxl_p230_k1_pro";
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>;
};
};
&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";
};
};
&i2c_a {
status = "okay";
};
&i2c_b {
status = "okay";
};
&i2c_c {
status = "okay";
};
&i2c_d {
status = "okay";
};