|
| 1 | +#include "sc2_s905x4_ah212_drm.dts" |
| 2 | +#include "coreelec_sc2_common.dtsi" |
| 3 | + |
| 4 | +/ { |
| 5 | + model = "Mecool KT1"; |
| 6 | + coreelec-dt-id = "sc2_s905x4_mecool_kt1"; |
| 7 | + |
| 8 | + auge_sound { |
| 9 | + /delete-property/ avout_mute-gpios; |
| 10 | + }; |
| 11 | + |
| 12 | + gpioleds { |
| 13 | + sys_led { |
| 14 | + label = "sys_led"; |
| 15 | + gpios = <&gpio GPIOD_11 GPIO_ACTIVE_HIGH>; |
| 16 | + linux,default-trigger = "default-on"; |
| 17 | + }; |
| 18 | + net_led { |
| 19 | + label = "net_led"; |
| 20 | + gpios=<&gpio GPIOD_4 GPIO_ACTIVE_HIGH>; |
| 21 | + linux,default-trigger = "none"; |
| 22 | + }; |
| 23 | + rc_led { |
| 24 | + label = "rc_led"; |
| 25 | + gpios=<&gpio GPIOD_6 GPIO_ACTIVE_HIGH>; |
| 26 | + linux,default-trigger = "rc-feedback"; |
| 27 | + }; |
| 28 | + }; |
| 29 | + |
| 30 | + gpio_keypad { |
| 31 | + status = "disabled"; |
| 32 | + }; |
| 33 | + |
| 34 | + /delete-node/ dvb-extern; |
| 35 | + dvb-extern { |
| 36 | + compatible = "amlogic, dvb-extern"; |
| 37 | + dev_name = "dvb-extern"; |
| 38 | + status = "okay"; |
| 39 | + |
| 40 | + fe_num = <1>; |
| 41 | + fe0_demod = "avl68xx"; |
| 42 | + fe0_i2c_adap_id = <&i2c3>; |
| 43 | + fe0_demod_i2c_addr = <0x14>; |
| 44 | + fe0_ts_out_mode = <1>; |
| 45 | + fe0_ts = <1>; |
| 46 | + fe0_tuner0 = <0>; |
| 47 | + |
| 48 | + tuner_num = <1>; |
| 49 | + tuner0_name = "mxl603_tuner"; |
| 50 | + tuner0_i2c_adap = <&i2c3>; |
| 51 | + tuner0_i2c_addr = <0x60>; |
| 52 | + tuner0_xtal = <0>; |
| 53 | + tuner0_if_hz = <6>; |
| 54 | + tuner0_if_agc = <0>; |
| 55 | + tuner0_xtal_cap = <25>; |
| 56 | + tuner0_if_invert = <1>; |
| 57 | + tuner0_lt_out = <0>; |
| 58 | + tuner0_xtal_mode = <0>; |
| 59 | + tuner0_dual_power = <0>; |
| 60 | + }; |
| 61 | + |
| 62 | + /delete-node/ dvb-demux; |
| 63 | + dvb-demux { |
| 64 | + compatible = "amlogic sc2, dvb-demux"; |
| 65 | + dev_name = "dvb-demux"; |
| 66 | + status = "okay"; |
| 67 | + |
| 68 | + reg = <0x0 0xfe000000 0x0 0x480000>; |
| 69 | + |
| 70 | + dmxdev_num = <3>; |
| 71 | + |
| 72 | + tsn_from = "demod"; |
| 73 | + ts_clone = <0>; |
| 74 | + tee_compat = <1>; |
| 75 | + |
| 76 | + ts1_sid = <0x20>; |
| 77 | + ts1 = "parallel"; |
| 78 | + ts1_control = <0>; |
| 79 | + ts1_invert = <0>; |
| 80 | + |
| 81 | + pinctrl-names = "p_ts1"; |
| 82 | + pinctrl-0 = <&dvb_p_ts1_pins>; |
| 83 | + }; |
| 84 | +}; |
| 85 | + |
| 86 | +&i2c2 { |
| 87 | + status = "disabled"; |
| 88 | +}; |
| 89 | + |
| 90 | +&i2c3 { |
| 91 | + status = "okay"; |
| 92 | +}; |
| 93 | + |
| 94 | +&sd_emmc_b { |
| 95 | + max-frequency = <150000000>; |
| 96 | +}; |
| 97 | + |
| 98 | +&periphs_pinctrl { |
| 99 | + dvb_p_ts1_pins: dvb_p_ts1_pins { |
| 100 | + tsin_b { |
| 101 | + groups = "tsin_b_sop", |
| 102 | + "tsin_b_valid", |
| 103 | + "tsin_b_clk", |
| 104 | + "tsin_b_fail", |
| 105 | + "tsin_b_din0", |
| 106 | + "tsin_b_din1", |
| 107 | + "tsin_b_din2", |
| 108 | + "tsin_b_din3", |
| 109 | + "tsin_b_din4", |
| 110 | + "tsin_b_din5", |
| 111 | + "tsin_b_din6", |
| 112 | + "tsin_b_din7"; |
| 113 | + function = "tsin_b"; |
| 114 | + }; |
| 115 | + }; |
| 116 | +}; |
0 commit comments