003 File Manager
Current Path:
/usr/src/sys/contrib/device-tree/src/arm64/mediatek
usr
/
src
/
sys
/
contrib
/
device-tree
/
src
/
arm64
/
mediatek
/
📁
..
📄
mt2712-evb.dts
(5.12 KB)
📄
mt2712-pinfunc.h
(60.45 KB)
📄
mt2712e.dtsi
(28.29 KB)
📄
mt6358.dtsi
(9.81 KB)
📄
mt6380.dtsi
(2 KB)
📄
mt6755-evb.dts
(463 B)
📄
mt6755.dtsi
(3.2 KB)
📄
mt6795-evb.dts
(536 B)
📄
mt6795.dtsi
(3.86 KB)
📄
mt6797-evb.dts
(496 B)
📄
mt6797-x20-dev.dts
(1.24 KB)
📄
mt6797.dtsi
(11.12 KB)
📄
mt7622-bananapi-bpi-r64.dts
(8.79 KB)
📄
mt7622-rfb1.dts
(8.23 KB)
📄
mt7622.dtsi
(24.34 KB)
📄
mt8173-elm-hana-rev7.dts
(416 B)
📄
mt8173-elm-hana.dts
(297 B)
📄
mt8173-elm-hana.dtsi
(1.37 KB)
📄
mt8173-elm.dts
(324 B)
📄
mt8173-elm.dtsi
(25.29 KB)
📄
mt8173-evb.dts
(12.45 KB)
📄
mt8173-pinfunc.h
(34.53 KB)
📄
mt8173.dtsi
(40.14 KB)
📄
mt8183-evb.dts
(7.65 KB)
📄
mt8183-kukui-krane-sku176.dts
(403 B)
📄
mt8183-kukui-krane.dtsi
(4.83 KB)
📄
mt8183-kukui.dtsi
(15.51 KB)
📄
mt8183-pinfunc.h
(54.22 KB)
📄
mt8183.dtsi
(20.33 KB)
📄
mt8516-pinfunc.h
(34.35 KB)
📄
mt8516-pumpkin.dts
(349 B)
📄
mt8516.dtsi
(12.32 KB)
📄
pumpkin-common.dtsi
(4.11 KB)
Editing: mt2712-evb.dts
/* * Copyright (c) 2017 MediaTek Inc. * Author: YT Shen <yt.shen@mediatek.com> * * SPDX-License-Identifier: (GPL-2.0 OR MIT) */ /dts-v1/; #include <dt-bindings/gpio/gpio.h> #include "mt2712e.dtsi" / { model = "MediaTek MT2712 evaluation board"; compatible = "mediatek,mt2712-evb", "mediatek,mt2712"; aliases { serial0 = &uart0; }; memory@40000000 { device_type = "memory"; reg = <0 0x40000000 0 0x80000000>; }; chosen { stdout-path = "serial0:921600n8"; }; cpus_fixed_vproc0: fixedregulator@0 { compatible = "regulator-fixed"; regulator-name = "vproc_buck0"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; }; cpus_fixed_vproc1: fixedregulator@1 { compatible = "regulator-fixed"; regulator-name = "vproc_buck1"; regulator-min-microvolt = <1000000>; regulator-max-microvolt = <1000000>; }; extcon_usb: extcon_iddig { compatible = "linux,extcon-usb-gpio"; id-gpio = <&pio 12 GPIO_ACTIVE_HIGH>; }; extcon_usb1: extcon_iddig1 { compatible = "linux,extcon-usb-gpio"; id-gpio = <&pio 14 GPIO_ACTIVE_HIGH>; }; usb_p0_vbus: regulator@2 { compatible = "regulator-fixed"; regulator-name = "p0_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; gpio = <&pio 13 GPIO_ACTIVE_HIGH>; enable-active-high; }; usb_p1_vbus: regulator@3 { compatible = "regulator-fixed"; regulator-name = "p1_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; gpio = <&pio 15 GPIO_ACTIVE_HIGH>; enable-active-high; }; usb_p2_vbus: regulator@4 { compatible = "regulator-fixed"; regulator-name = "p2_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; gpio = <&pio 16 GPIO_ACTIVE_HIGH>; enable-active-high; }; usb_p3_vbus: regulator@5 { compatible = "regulator-fixed"; regulator-name = "p3_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; gpio = <&pio 17 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-always-on; }; }; &auxadc { status = "okay"; }; &cpu0 { proc-supply = <&cpus_fixed_vproc0>; }; &cpu1 { proc-supply = <&cpus_fixed_vproc0>; }; &cpu2 { proc-supply = <&cpus_fixed_vproc1>; }; ð { phy-mode ="rgmii-rxid"; phy-handle = <ðernet_phy0>; mediatek,tx-delay-ps = <1530>; snps,reset-gpio = <&pio 87 GPIO_ACTIVE_LOW>; pinctrl-names = "default", "sleep"; pinctrl-0 = <ð_default>; pinctrl-1 = <ð_sleep>; status = "okay"; mdio { compatible = "snps,dwmac-mdio"; #address-cells = <1>; #size-cells = <0>; ethernet_phy0: ethernet-phy@5 { compatible = "ethernet-phy-id0243.0d90"; reg = <0x5>; }; }; }; &pio { eth_default: eth_default { tx_pins { pinmux = <MT2712_PIN_71_GBE_TXD3__FUNC_GBE_TXD3>, <MT2712_PIN_72_GBE_TXD2__FUNC_GBE_TXD2>, <MT2712_PIN_73_GBE_TXD1__FUNC_GBE_TXD1>, <MT2712_PIN_74_GBE_TXD0__FUNC_GBE_TXD0>, <MT2712_PIN_75_GBE_TXC__FUNC_GBE_TXC>, <MT2712_PIN_76_GBE_TXEN__FUNC_GBE_TXEN>; drive-strength = <MTK_DRIVE_8mA>; }; rx_pins { pinmux = <MT2712_PIN_78_GBE_RXD3__FUNC_GBE_RXD3>, <MT2712_PIN_79_GBE_RXD2__FUNC_GBE_RXD2>, <MT2712_PIN_80_GBE_RXD1__FUNC_GBE_RXD1>, <MT2712_PIN_81_GBE_RXD0__FUNC_GBE_RXD0>, <MT2712_PIN_82_GBE_RXDV__FUNC_GBE_RXDV>, <MT2712_PIN_84_GBE_RXC__FUNC_GBE_RXC>; input-enable; }; mdio_pins { pinmux = <MT2712_PIN_85_GBE_MDC__FUNC_GBE_MDC>, <MT2712_PIN_86_GBE_MDIO__FUNC_GBE_MDIO>; drive-strength = <MTK_DRIVE_8mA>; input-enable; }; }; eth_sleep: eth_sleep { tx_pins { pinmux = <MT2712_PIN_71_GBE_TXD3__FUNC_GPIO71>, <MT2712_PIN_72_GBE_TXD2__FUNC_GPIO72>, <MT2712_PIN_73_GBE_TXD1__FUNC_GPIO73>, <MT2712_PIN_74_GBE_TXD0__FUNC_GPIO74>, <MT2712_PIN_75_GBE_TXC__FUNC_GPIO75>, <MT2712_PIN_76_GBE_TXEN__FUNC_GPIO76>; }; rx_pins { pinmux = <MT2712_PIN_78_GBE_RXD3__FUNC_GPIO78>, <MT2712_PIN_79_GBE_RXD2__FUNC_GPIO79>, <MT2712_PIN_80_GBE_RXD1__FUNC_GPIO80>, <MT2712_PIN_81_GBE_RXD0__FUNC_GPIO81>, <MT2712_PIN_82_GBE_RXDV__FUNC_GPIO82>, <MT2712_PIN_84_GBE_RXC__FUNC_GPIO84>; input-disable; }; mdio_pins { pinmux = <MT2712_PIN_85_GBE_MDC__FUNC_GPIO85>, <MT2712_PIN_86_GBE_MDIO__FUNC_GPIO86>; input-disable; bias-disable; }; }; usb0_id_pins_float: usb0_iddig { pins_iddig { pinmux = <MT2712_PIN_12_IDDIG_P0__FUNC_IDDIG_A>; bias-pull-up; }; }; usb1_id_pins_float: usb1_iddig { pins_iddig { pinmux = <MT2712_PIN_14_IDDIG_P1__FUNC_IDDIG_B>; bias-pull-up; }; }; }; &ssusb { vbus-supply = <&usb_p0_vbus>; extcon = <&extcon_usb>; dr_mode = "otg"; wakeup-source; mediatek,u3p-dis-msk = <0x1>; //enable-manual-drd; //maximum-speed = "full-speed"; pinctrl-names = "default"; pinctrl-0 = <&usb0_id_pins_float>; status = "okay"; }; &ssusb1 { vbus-supply = <&usb_p1_vbus>; extcon = <&extcon_usb1>; dr_mode = "otg"; //mediatek,u3p-dis-msk = <0x1>; enable-manual-drd; wakeup-source; //maximum-speed = "full-speed"; pinctrl-names = "default"; pinctrl-0 = <&usb1_id_pins_float>; status = "okay"; }; &uart0 { status = "okay"; }; &usb_host0 { vbus-supply = <&usb_p2_vbus>; status = "okay"; }; &usb_host1 { status = "okay"; };
Upload File
Create Folder