003 File Manager
Current Path:
/usr/src/sys/contrib/device-tree/src/arm64/amlogic
usr
/
src
/
sys
/
contrib
/
device-tree
/
src
/
arm64
/
amlogic
/
📁
..
📄
meson-a1-ad401.dts
(455 B)
📄
meson-a1.dtsi
(3.46 KB)
📄
meson-axg-s400.dts
(11.36 KB)
📄
meson-axg.dtsi
(38.17 KB)
📄
meson-g12-common.dtsi
(52.74 KB)
📄
meson-g12.dtsi
(11.08 KB)
📄
meson-g12a-sei510.dts
(10.67 KB)
📄
meson-g12a-u200.dts
(5.95 KB)
📄
meson-g12a-x96-max.dts
(9.07 KB)
📄
meson-g12a.dtsi
(2.55 KB)
📄
meson-g12b-a311d-khadas-vim3.dts
(1.25 KB)
📄
meson-g12b-a311d.dtsi
(2.89 KB)
📄
meson-g12b-gtking-pro.dts
(2.12 KB)
📄
meson-g12b-gtking.dts
(2.45 KB)
📄
meson-g12b-khadas-vim3.dtsi
(3.45 KB)
📄
meson-g12b-odroid-n2.dts
(12.42 KB)
📄
meson-g12b-s922x-khadas-vim3.dts
(1.25 KB)
📄
meson-g12b-s922x.dtsi
(2.44 KB)
📄
meson-g12b-ugoos-am6.dts
(3.06 KB)
📄
meson-g12b-w400.dtsi
(8.46 KB)
📄
meson-g12b.dtsi
(2.65 KB)
📄
meson-gx-libretech-pc.dtsi
(8.56 KB)
📄
meson-gx-mali450.dtsi
(1.48 KB)
📄
meson-gx-p23x-q20x.dtsi
(6.1 KB)
📄
meson-gx.dtsi
(15.66 KB)
📄
meson-gxbb-kii-pro.dts
(1.46 KB)
📄
meson-gxbb-nanopi-k2.dts
(7.95 KB)
📄
meson-gxbb-nexbox-a95x.dts
(5.36 KB)
📄
meson-gxbb-odroidc2.dts
(8.16 KB)
📄
meson-gxbb-p200.dts
(2 KB)
📄
meson-gxbb-p201.dts
(555 B)
📄
meson-gxbb-p20x.dtsi
(4.65 KB)
📄
meson-gxbb-vega-s95-meta.dts
(345 B)
📄
meson-gxbb-vega-s95-pro.dts
(343 B)
📄
meson-gxbb-vega-s95-telos.dts
(347 B)
📄
meson-gxbb-vega-s95.dtsi
(5.11 KB)
📄
meson-gxbb-wetek-hub.dts
(313 B)
📄
meson-gxbb-wetek-play2.dts
(1.01 KB)
📄
meson-gxbb-wetek.dtsi
(5.32 KB)
📄
meson-gxbb.dtsi
(16.07 KB)
📄
meson-gxl-mali.dtsi
(404 B)
📄
meson-gxl-s805x-libretech-ac.dts
(6.48 KB)
📄
meson-gxl-s805x-p241.dts
(4.19 KB)
📄
meson-gxl-s805x.dtsi
(459 B)
📄
meson-gxl-s905d-libretech-pc.dts
(363 B)
📄
meson-gxl-s905d-p230.dts
(2.13 KB)
📄
meson-gxl-s905d-p231.dts
(550 B)
📄
meson-gxl-s905d-phicomm-n1.dts
(514 B)
📄
meson-gxl-s905d-sml5442tw.dts
(1.61 KB)
📄
meson-gxl-s905d.dtsi
(262 B)
📄
meson-gxl-s905w-p281.dts
(589 B)
📄
meson-gxl-s905w-tx3-mini.dts
(637 B)
📄
meson-gxl-s905x-hwacom-amazetv.dts
(3.19 KB)
📄
meson-gxl-s905x-khadas-vim.dts
(4.41 KB)
📄
meson-gxl-s905x-libretech-cc.dts
(7.37 KB)
📄
meson-gxl-s905x-nexbox-a95x.dts
(4.19 KB)
📄
meson-gxl-s905x-p212.dts
(1.17 KB)
📄
meson-gxl-s905x-p212.dtsi
(4.16 KB)
📄
meson-gxl-s905x.dtsi
(375 B)
📄
meson-gxl.dtsi
(17.39 KB)
📄
meson-gxm-khadas-vim2.dts
(7.74 KB)
📄
meson-gxm-nexbox-a1.dts
(3.33 KB)
📄
meson-gxm-q200.dts
(1.64 KB)
📄
meson-gxm-q201.dts
(542 B)
📄
meson-gxm-rbox-pro.dts
(3.85 KB)
📄
meson-gxm-s912-libretech-pc.dts
(1.18 KB)
📄
meson-gxm-vega-s96.dts
(783 B)
📄
meson-gxm-wetek-core2.dts
(1.67 KB)
📄
meson-gxm.dtsi
(4.14 KB)
📄
meson-khadas-vim3.dtsi
(8.01 KB)
📄
meson-sm1-khadas-vim3l.dts
(3.61 KB)
📄
meson-sm1-odroid-c4.dts
(9.7 KB)
📄
meson-sm1-sei610.dts
(11.83 KB)
📄
meson-sm1.dtsi
(13.43 KB)
Editing: meson-g12b-w400.dtsi
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2019 BayLibre, SAS * Author: Neil Armstrong <narmstrong@baylibre.com> * Copyright (c) 2019 Christian Hewitt <christianshewitt@gmail.com> */ /dts-v1/; #include "meson-g12b.dtsi" #include "meson-g12b-s922x.dtsi" #include <dt-bindings/input/input.h> #include <dt-bindings/gpio/meson-g12a-gpio.h> / { aliases { serial0 = &uart_AO; ethernet0 = ðmac; }; chosen { stdout-path = "serial0:115200n8"; }; memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x40000000>; }; emmc_pwrseq: emmc-pwrseq { compatible = "mmc-pwrseq-emmc"; reset-gpios = <&gpio BOOT_12 GPIO_ACTIVE_LOW>; }; sdio_pwrseq: sdio-pwrseq { compatible = "mmc-pwrseq-simple"; reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>; clocks = <&wifi32k>; clock-names = "ext_clock"; }; flash_1v8: regulator-flash_1v8 { compatible = "regulator-fixed"; regulator-name = "FLASH_1V8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; vin-supply = <&vcc_3v3>; regulator-always-on; }; main_12v: regulator-main_12v { compatible = "regulator-fixed"; regulator-name = "12V"; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; regulator-always-on; }; vcc_5v: regulator-vcc_5v { compatible = "regulator-fixed"; regulator-name = "VCC_5V"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&main_12v>; gpio = <&gpio GPIOH_8 GPIO_OPEN_DRAIN>; enable-active-high; }; vcc_1v8: regulator-vcc_1v8 { compatible = "regulator-fixed"; regulator-name = "VCC_1V8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; vin-supply = <&vcc_3v3>; regulator-always-on; }; vcc_3v3: regulator-vcc_3v3 { compatible = "regulator-fixed"; regulator-name = "VCC_3V3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vddao_3v3>; regulator-always-on; /* FIXME: actually controlled by VDDCPU_B_EN */ }; vddcpu_a: regulator-vddcpu-a { /* * MP1653 Regulator. */ compatible = "pwm-regulator"; regulator-name = "VDDCPU_A"; regulator-min-microvolt = <721000>; regulator-max-microvolt = <1022000>; vin-supply = <&main_12v>; pwms = <&pwm_ab 0 1250 0>; pwm-dutycycle-range = <100 0>; regulator-boot-on; regulator-always-on; }; vddcpu_b: regulator-vddcpu-b { /* * MP1652 Regulator. */ compatible = "pwm-regulator"; regulator-name = "VDDCPU_B"; regulator-min-microvolt = <721000>; regulator-max-microvolt = <1022000>; vin-supply = <&main_12v>; pwms = <&pwm_AO_cd 1 1250 0>; pwm-dutycycle-range = <100 0>; regulator-boot-on; regulator-always-on; }; usb1_pow: regulator-usb1-pow { compatible = "regulator-fixed"; regulator-name = "USB1_POW"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc_5v>; /* connected to SY6280A Power Switch */ gpio = <&gpio GPIOA_8 GPIO_ACTIVE_HIGH>; enable-active-high; }; usb_pwr_en: regulator-usb-pwr-en { compatible = "regulator-fixed"; regulator-name = "USB_PWR_EN"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc_5v>; /* Connected to USB3 Type-A Port power enable */ gpio = <&gpio GPIOAO_7 GPIO_ACTIVE_HIGH>; enable-active-high; }; vddao_1v8: regulator-vddao-1v8 { compatible = "regulator-fixed"; regulator-name = "VDDAO_1V8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; vin-supply = <&vddao_3v3>; regulator-always-on; }; vddao_3v3: regulator-vddao-3v3 { compatible = "regulator-fixed"; regulator-name = "VDDAO_3V3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&main_12v>; regulator-always-on; }; cvbs-connector { compatible = "composite-video-connector"; port { cvbs_connector_in: endpoint { remote-endpoint = <&cvbs_vdac_out>; }; }; }; hdmi-connector { compatible = "hdmi-connector"; type = "a"; port { hdmi_connector_in: endpoint { remote-endpoint = <&hdmi_tx_tmds_out>; }; }; }; wifi32k: wifi32k { compatible = "pwm-clock"; #clock-cells = <0>; clock-frequency = <32768>; pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */ }; }; &cec_AO { pinctrl-0 = <&cec_ao_a_h_pins>; pinctrl-names = "default"; status = "disabled"; hdmi-phandle = <&hdmi_tx>; }; &cecb_AO { pinctrl-0 = <&cec_ao_b_h_pins>; pinctrl-names = "default"; status = "okay"; hdmi-phandle = <&hdmi_tx>; }; &cpu0 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; clock-latency = <50000>; }; &cpu1 { cpu-supply = <&vddcpu_b>; operating-points-v2 = <&cpu_opp_table_0>; clocks = <&clkc CLKID_CPU_CLK>; clock-latency = <50000>; }; &cpu100 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; clock-latency = <50000>; }; &cpu101 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; clock-latency = <50000>; }; &cpu102 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; clock-latency = <50000>; }; &cpu103 { cpu-supply = <&vddcpu_a>; operating-points-v2 = <&cpub_opp_table_1>; clocks = <&clkc CLKID_CPUB_CLK>; clock-latency = <50000>; }; &cvbs_vdac_port { cvbs_vdac_out: endpoint { remote-endpoint = <&cvbs_connector_in>; }; }; &ext_mdio { external_phy: ethernet-phy@0 { /* Realtek RTL8211F (0x001cc916) */ reg = <0>; max-speed = <1000>; reset-assert-us = <10000>; reset-deassert-us = <30000>; reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; interrupt-parent = <&gpio_intc>; /* MAC_INTR on GPIOZ_14 */ interrupts = <26 IRQ_TYPE_LEVEL_LOW>; }; }; ðmac { pinctrl-0 = <ð_pins>, <ð_rgmii_pins>; pinctrl-names = "default"; status = "okay"; phy-mode = "rgmii"; phy-handle = <&external_phy>; amlogic,tx-delay-ns = <2>; }; &hdmi_tx { status = "okay"; pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; pinctrl-names = "default"; hdmi-supply = <&vcc_5v>; }; &hdmi_tx_tmds_port { hdmi_tx_tmds_out: endpoint { remote-endpoint = <&hdmi_connector_in>; }; }; &ir { status = "okay"; pinctrl-0 = <&remote_input_ao_pins>; pinctrl-names = "default"; }; &pwm_ab { pinctrl-0 = <&pwm_a_e_pins>; pinctrl-names = "default"; clocks = <&xtal>; clock-names = "clkin0"; status = "okay"; }; &pwm_AO_cd { pinctrl-0 = <&pwm_ao_d_e_pins>; pinctrl-names = "default"; clocks = <&xtal>; clock-names = "clkin1"; status = "okay"; }; &pwm_ef { pinctrl-0 = <&pwm_e_pins>; pinctrl-names = "default"; clocks = <&xtal>; clock-names = "clkin0"; status = "okay"; }; /* 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; max-frequency = <100000000>; /* WiFi firmware requires power to be kept while in suspend */ keep-power-in-suspend; non-removable; disable-wp; mmc-pwrseq = <&sdio_pwrseq>; vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddao_1v8>; brcmf: wifi@1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; }; }; /* SD card */ &sd_emmc_b { status = "okay"; pinctrl-0 = <&sdcard_c_pins>; pinctrl-1 = <&sdcard_clk_gate_c_pins>; pinctrl-names = "default", "clk-gate"; bus-width = <4>; cap-sd-highspeed; max-frequency = <50000000>; disable-wp; cd-gpios = <&gpio GPIOC_6 GPIO_ACTIVE_LOW>; vmmc-supply = <&vddao_3v3>; vqmmc-supply = <&vddao_3v3>; }; /* eMMC */ &sd_emmc_c { status = "okay"; pinctrl-0 = <&emmc_ctrl_pins>, <&emmc_data_8b_pins>, <&emmc_ds_pins>; pinctrl-1 = <&emmc_clk_gate_pins>; pinctrl-names = "default", "clk-gate"; bus-width = <8>; cap-mmc-highspeed; max-frequency = <100000000>; disable-wp; mmc-pwrseq = <&emmc_pwrseq>; vmmc-supply = <&vcc_3v3>; vqmmc-supply = <&flash_1v8>; }; &uart_A { status = "okay"; pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; pinctrl-names = "default"; uart-has-rtscts; bluetooth { compatible = "brcm,bcm43438-bt"; shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; max-speed = <2000000>; clocks = <&wifi32k>; clock-names = "lpo"; }; }; &uart_AO { status = "okay"; pinctrl-0 = <&uart_ao_a_pins>; pinctrl-names = "default"; }; &usb { status = "okay"; dr_mode = "host"; vbus-supply = <&usb_pwr_en>; }; &usb2_phy0 { phy-supply = <&usb1_pow>; }; &usb2_phy1 { phy-supply = <&usb1_pow>; };
Upload File
Create Folder