mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 18:25:04 +07:00
537433b624
We get a moderate number of new machines this time, and only one new SoC variant (Actions S700): Actions: S700 Soc and CubieBoard7 development board Allo.com Sparky Single-board-computer Allwinner: Orange Pi R1 development board Libre Computer Board ALL-H3-CC H3 single-board computer ASpeed ast2x00: Witherspoon: OpenPower Power9 server manufactured by IBM that uses the ASPEED ast2500 Zaius: OpenPower Power9 server manufactured by Invatech that uses the ASPEED ast2500 Q71L: Intel Xeon server manufactured by Qanta that uses the ASPEED ast2400 AT91: Axentia Nattis/Natte digital signage sama5d2 PTC-ek Evaluation board Freescale/NXP i.MX: SolidRun Humminboard2 development board Variscite DART-MX6 SoM and Carrier-board Technologic TS-4600 and TS-7970 development board Toradex Colibri iMX7D SoM board v1.5 variant of Solidrun Cubox-i and Hummingboard Freescale/NXP Layerscape: Moxa UC-8410A Series industrial computer Gemini: D-Link DNS-313 NAS enclosure OMAP: LogicPD OMAP35xx SOM-LV devkit LogicPD OMAP35xx Torpedo devkit Renesas: r8a77970 (V3M) Starter Kit board r8a7795 (M3-W) Salvator-XS board We finally managed to get the dtc warnings under control, with no more build-time warnings for bad device tree files. This includes fixes for the majority of platforms, including nomadik, samsung, lpc32xx, STi, spear, mediatek, freescale, qcom, realview, keystone, omap, kirkwood, renesas, hisilicon, and broadcom. Files get rearranged on a few platforms, in particular the Marvell Armada 7K/8K device tree files are changed in preparation for future SoC support, based on more than two of the same chips in one package, and some boards get renamed for oxnas for consistency. Finally, many existing SoCs gain descriptions for additional on-chip devices that we can now support with kernel drivers: Allwinner A83t (drm, ethernet, i2c, ...), H3/H5 (USB-OTG) Amlogic AXG family (clk, pinctrl, pwm, ...), and others (vpu, hdmi) Aspeed clk controller support Freescale LS1088A, LS1021A device support Gemini Ethernet, PCI, TVE, panel Keystone gpio, qspi, more uarts Mediatek cpufreq, regulator, clock, reset Marvell thermal, cpufreq, nand Renesas SMP, thermal, timer, PWM, sound, phy, ipmmu Rockchip Mipi, GPU, display Samsung Exynos5433 PMU, power domain, nfc Spreadtrum: sc9860 clocks Tegra TX2 PSDI, HDMI, I2C,SMMU, display, fuse, ... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJac0fiAAoJEGCrR//JCVInGUYP/ikTcjrmtQxmMINdsy88gmN3 lPk3jGoViyRzc9Y6hGUUXn1YNdK8+IqRkqLnhtVX3cOLS5pP2HwsvSgPmSSB3eQe NOhXUNRQaTbeS/eBGZxJbxEKSowQHU+43M2kRNQOht7UQzS8NnBj/1RGaxcFyNSw gIixWDZLgVTNCSloPaSrZmiwSa7rSM2q0ncBzzeafAZiTRNeOb6IUpnqu/n0Qnot er6VoEyxp6ThFqRB7O8bCAIwgqlyB9xSGBPNR/JI0e0xXo3KVE/2AjHYDHVP/Ttx X8vtb3m+RED7tX4oCmlrHb1SAAKpNi1Vzdg4PxmKCa7yb5xPog7OEr3rnpijzCL0 y8IJLlVSPyx31yB7mIIzCjrcISrT7tOXp0ha88/NgNsGXw5Ln0GVEqTkmSrz/JWo z1G2tNwnstS64KK+chHOZfUto4Rzbrpmr9L1ziKIpSQtiNyOmiSu1c3EjHim7x4I Mfiv6+8J71faUYuKVK1oaX0gi43oSZHu4NuniQy8dg/OIpgPpHHpG1qCyAzgC6Pa r1Am2w33CXrJI78b4zG2pIDx0HghIjFUtjX9tijoFiMs1EZgbV6cJ2meep6Sy+XV RBxHXPU8obdcuBfhgjEygwLI0HSe0R78B15qPP/SNxAFeAvE950xfPrGAoZg7qo/ o6B2iQSfsYQJbD8rUHaA =qN1F -----END PGP SIGNATURE----- Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC device tree updates from Arnd Bergmann: "We get a moderate number of new machines this time, and only one new SoC variant (Actions S700): Actions: - S700 Soc and CubieBoard7 development board - Allo.com Sparky Single-board-computer Allwinner: - Orange Pi R1 development board - Libre Computer Board ALL-H3-CC H3 single-board computer ASpeed ast2x00: - Witherspoon: OpenPower Power9 server manufactured by IBM that uses the ASPEED ast2500 - Zaius: OpenPower Power9 server manufactured by Invatech that uses the ASPEED ast2500 - Q71L: Intel Xeon server manufactured by Qanta that uses the ASPEED ast2400 AT91: - Axentia Nattis/Natte digital signage - sama5d2 PTC-ek Evaluation board Freescale/NXP i.MX: - SolidRun Humminboard2 development board - Variscite DART-MX6 SoM and Carrier-board - Technologic TS-4600 and TS-7970 development board - Toradex Colibri iMX7D SoM board - v1.5 variant of Solidrun Cubox-i and Hummingboard Freescale/NXP Layerscape: - Moxa UC-8410A Series industrial computer Gemini: - D-Link DNS-313 NAS enclosure OMAP: - LogicPD OMAP35xx SOM-LV devkit - LogicPD OMAP35xx Torpedo devkit Renesas: - r8a77970 (V3M) Starter Kit board - r8a7795 (M3-W) Salvator-XS board We finally managed to get the dtc warnings under control, with no more build-time warnings for bad device tree files. This includes fixes for the majority of platforms, including nomadik, samsung, lpc32xx, STi, spear, mediatek, freescale, qcom, realview, keystone, omap, kirkwood, renesas, hisilicon, and broadcom. Files get rearranged on a few platforms, in particular the Marvell Armada 7K/8K device tree files are changed in preparation for future SoC support, based on more than two of the same chips in one package, and some boards get renamed for oxnas for consistency. Finally, many existing SoCs gain descriptions for additional on-chip devices that we can now support with kernel drivers: - Allwinner A83t (drm, ethernet, i2c, ...), H3/H5 (USB-OTG) - Amlogic AXG family (clk, pinctrl, pwm, ...), and others (vpu, hdmi) - Aspeed clk controller support - Freescale LS1088A, LS1021A device support - Gemini Ethernet, PCI, TVE, panel - Keystone gpio, qspi, more uarts - Mediatek cpufreq, regulator, clock, reset - Marvell thermal, cpufreq, nand - Renesas SMP, thermal, timer, PWM, sound, phy, ipmmu - Rockchip Mipi, GPU, display - Samsung Exynos5433 PMU, power domain, nfc - Spreadtrum: sc9860 clocks - Tegra TX2 PSDI, HDMI, I2C,SMMU, display, fuse, ..." * tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (690 commits) arm64: dts: stratix10: fix SPI settings ARM: dts: socfpga: add i2c reset signals arm64: dts: stratix10: add USB ECC reset bit arm64: dts: stratix10: enable USB on the devkit ARM: dts: socfpga: disable over-current for Arria10 USB devkit ARM: dts: Nokia N9: add support for up/down keys in the dts ARM: dts: nomadik: add interrupt-parent for clcd ARM: dts: Add ethernet to a bunch of platforms ARM: dts: Add ethernet to the Gemini SoC ARM: dts: rename oxnas dts files ARM: dts: s5pv210: add interrupt-parent for ohci ARM: lpc3250: fix uda1380 gpio numbers ARM: dts: STi: Add gpio polarity for "hdmi,hpd-gpio" property ARM: dts: dra7: Reduce shut down temperature of non-cpu thermal zones ARM: dts: n900: Add aliases for lcd and tvout displays ARM: dts: Update ti-sysc data for existing users ARM: dts: Fix smartreflex compatible for omap3 shared mpu-iva instance arm64: dts: marvell: armada-80x0: Fix pinctrl compatible string arm: spear13xx: Fix spics gpio controller's warning arm: spear13xx: Fix dmas cells ...
543 lines
13 KiB
Plaintext
543 lines
13 KiB
Plaintext
/*
|
|
* Copyright (c) 2014 MediaTek Inc.
|
|
* Author: Eddie Huang <eddie.huang@mediatek.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
#include "mt8173.dtsi"
|
|
|
|
/ {
|
|
model = "MediaTek MT8173 evaluation board";
|
|
compatible = "mediatek,mt8173-evb", "mediatek,mt8173";
|
|
|
|
aliases {
|
|
serial0 = &uart0;
|
|
serial1 = &uart1;
|
|
serial2 = &uart2;
|
|
serial3 = &uart3;
|
|
};
|
|
|
|
memory@40000000 {
|
|
device_type = "memory";
|
|
reg = <0 0x40000000 0 0x80000000>;
|
|
};
|
|
|
|
chosen { };
|
|
|
|
connector {
|
|
compatible = "hdmi-connector";
|
|
label = "hdmi";
|
|
type = "d";
|
|
|
|
port {
|
|
hdmi_connector_in: endpoint {
|
|
remote-endpoint = <&hdmi0_out>;
|
|
};
|
|
};
|
|
};
|
|
|
|
extcon_usb: extcon_iddig {
|
|
compatible = "linux,extcon-usb-gpio";
|
|
id-gpio = <&pio 16 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
usb_p1_vbus: regulator@0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "usb_vbus";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
gpio = <&pio 130 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
};
|
|
|
|
usb_p0_vbus: regulator@1 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vbus";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
gpio = <&pio 9 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
};
|
|
};
|
|
|
|
&cec {
|
|
status = "okay";
|
|
};
|
|
|
|
&cpu0 {
|
|
proc-supply = <&mt6397_vpca15_reg>;
|
|
};
|
|
|
|
&cpu1 {
|
|
proc-supply = <&mt6397_vpca15_reg>;
|
|
};
|
|
|
|
&cpu2 {
|
|
proc-supply = <&da9211_vcpu_reg>;
|
|
sram-supply = <&mt6397_vsramca7_reg>;
|
|
};
|
|
|
|
&cpu3 {
|
|
proc-supply = <&da9211_vcpu_reg>;
|
|
sram-supply = <&mt6397_vsramca7_reg>;
|
|
};
|
|
|
|
&dpi0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&hdmi_phy {
|
|
status = "okay";
|
|
};
|
|
|
|
&hdmi0 {
|
|
status = "okay";
|
|
|
|
ports {
|
|
port@1 {
|
|
reg = <1>;
|
|
|
|
hdmi0_out: endpoint {
|
|
remote-endpoint = <&hdmi_connector_in>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
|
|
buck: da9211@68 {
|
|
compatible = "dlg,da9211";
|
|
reg = <0x68>;
|
|
|
|
regulators {
|
|
da9211_vcpu_reg: BUCKA {
|
|
regulator-name = "VBUCKA";
|
|
regulator-min-microvolt = < 700000>;
|
|
regulator-max-microvolt = <1310000>;
|
|
regulator-min-microamp = <2000000>;
|
|
regulator-max-microamp = <4400000>;
|
|
regulator-ramp-delay = <10000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
da9211_vgpu_reg: BUCKB {
|
|
regulator-name = "VBUCKB";
|
|
regulator-min-microvolt = < 700000>;
|
|
regulator-max-microvolt = <1310000>;
|
|
regulator-min-microamp = <2000000>;
|
|
regulator-max-microamp = <3000000>;
|
|
regulator-ramp-delay = <10000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&mmc0 {
|
|
status = "okay";
|
|
pinctrl-names = "default", "state_uhs";
|
|
pinctrl-0 = <&mmc0_pins_default>;
|
|
pinctrl-1 = <&mmc0_pins_uhs>;
|
|
bus-width = <8>;
|
|
max-frequency = <50000000>;
|
|
cap-mmc-highspeed;
|
|
mediatek,hs200-cmd-int-delay=<26>;
|
|
mediatek,hs400-cmd-int-delay=<14>;
|
|
mediatek,hs400-cmd-resp-sel-rising;
|
|
vmmc-supply = <&mt6397_vemc_3v3_reg>;
|
|
vqmmc-supply = <&mt6397_vio18_reg>;
|
|
non-removable;
|
|
};
|
|
|
|
&mmc1 {
|
|
status = "okay";
|
|
pinctrl-names = "default", "state_uhs";
|
|
pinctrl-0 = <&mmc1_pins_default>;
|
|
pinctrl-1 = <&mmc1_pins_uhs>;
|
|
bus-width = <4>;
|
|
max-frequency = <50000000>;
|
|
cap-sd-highspeed;
|
|
sd-uhs-sdr25;
|
|
cd-gpios = <&pio 132 0>;
|
|
vmmc-supply = <&mt6397_vmch_reg>;
|
|
vqmmc-supply = <&mt6397_vmc_reg>;
|
|
};
|
|
|
|
&pio {
|
|
disp_pwm0_pins: disp_pwm0_pins {
|
|
pins1 {
|
|
pinmux = <MT8173_PIN_87_DISP_PWM0__FUNC_DISP_PWM0>;
|
|
output-low;
|
|
};
|
|
};
|
|
|
|
mmc0_pins_default: mmc0default {
|
|
pins_cmd_dat {
|
|
pinmux = <MT8173_PIN_57_MSDC0_DAT0__FUNC_MSDC0_DAT0>,
|
|
<MT8173_PIN_58_MSDC0_DAT1__FUNC_MSDC0_DAT1>,
|
|
<MT8173_PIN_59_MSDC0_DAT2__FUNC_MSDC0_DAT2>,
|
|
<MT8173_PIN_60_MSDC0_DAT3__FUNC_MSDC0_DAT3>,
|
|
<MT8173_PIN_61_MSDC0_DAT4__FUNC_MSDC0_DAT4>,
|
|
<MT8173_PIN_62_MSDC0_DAT5__FUNC_MSDC0_DAT5>,
|
|
<MT8173_PIN_63_MSDC0_DAT6__FUNC_MSDC0_DAT6>,
|
|
<MT8173_PIN_64_MSDC0_DAT7__FUNC_MSDC0_DAT7>,
|
|
<MT8173_PIN_66_MSDC0_CMD__FUNC_MSDC0_CMD>;
|
|
input-enable;
|
|
bias-pull-up;
|
|
};
|
|
|
|
pins_clk {
|
|
pinmux = <MT8173_PIN_65_MSDC0_CLK__FUNC_MSDC0_CLK>;
|
|
bias-pull-down;
|
|
};
|
|
|
|
pins_rst {
|
|
pinmux = <MT8173_PIN_68_MSDC0_RST___FUNC_MSDC0_RSTB>;
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
|
|
mmc1_pins_default: mmc1default {
|
|
pins_cmd_dat {
|
|
pinmux = <MT8173_PIN_73_MSDC1_DAT0__FUNC_MSDC1_DAT0>,
|
|
<MT8173_PIN_74_MSDC1_DAT1__FUNC_MSDC1_DAT1>,
|
|
<MT8173_PIN_75_MSDC1_DAT2__FUNC_MSDC1_DAT2>,
|
|
<MT8173_PIN_76_MSDC1_DAT3__FUNC_MSDC1_DAT3>,
|
|
<MT8173_PIN_78_MSDC1_CMD__FUNC_MSDC1_CMD>;
|
|
input-enable;
|
|
drive-strength = <MTK_DRIVE_4mA>;
|
|
bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
|
|
};
|
|
|
|
pins_clk {
|
|
pinmux = <MT8173_PIN_77_MSDC1_CLK__FUNC_MSDC1_CLK>;
|
|
bias-pull-down;
|
|
drive-strength = <MTK_DRIVE_4mA>;
|
|
};
|
|
|
|
pins_insert {
|
|
pinmux = <MT8173_PIN_132_I2S0_DATA1__FUNC_GPIO132>;
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
|
|
mmc0_pins_uhs: mmc0 {
|
|
pins_cmd_dat {
|
|
pinmux = <MT8173_PIN_57_MSDC0_DAT0__FUNC_MSDC0_DAT0>,
|
|
<MT8173_PIN_58_MSDC0_DAT1__FUNC_MSDC0_DAT1>,
|
|
<MT8173_PIN_59_MSDC0_DAT2__FUNC_MSDC0_DAT2>,
|
|
<MT8173_PIN_60_MSDC0_DAT3__FUNC_MSDC0_DAT3>,
|
|
<MT8173_PIN_61_MSDC0_DAT4__FUNC_MSDC0_DAT4>,
|
|
<MT8173_PIN_62_MSDC0_DAT5__FUNC_MSDC0_DAT5>,
|
|
<MT8173_PIN_63_MSDC0_DAT6__FUNC_MSDC0_DAT6>,
|
|
<MT8173_PIN_64_MSDC0_DAT7__FUNC_MSDC0_DAT7>,
|
|
<MT8173_PIN_66_MSDC0_CMD__FUNC_MSDC0_CMD>;
|
|
input-enable;
|
|
drive-strength = <MTK_DRIVE_2mA>;
|
|
bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
|
|
};
|
|
|
|
pins_clk {
|
|
pinmux = <MT8173_PIN_65_MSDC0_CLK__FUNC_MSDC0_CLK>;
|
|
drive-strength = <MTK_DRIVE_2mA>;
|
|
bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
|
|
};
|
|
|
|
pins_rst {
|
|
pinmux = <MT8173_PIN_68_MSDC0_RST___FUNC_MSDC0_RSTB>;
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
|
|
mmc1_pins_uhs: mmc1 {
|
|
pins_cmd_dat {
|
|
pinmux = <MT8173_PIN_73_MSDC1_DAT0__FUNC_MSDC1_DAT0>,
|
|
<MT8173_PIN_74_MSDC1_DAT1__FUNC_MSDC1_DAT1>,
|
|
<MT8173_PIN_75_MSDC1_DAT2__FUNC_MSDC1_DAT2>,
|
|
<MT8173_PIN_76_MSDC1_DAT3__FUNC_MSDC1_DAT3>,
|
|
<MT8173_PIN_78_MSDC1_CMD__FUNC_MSDC1_CMD>;
|
|
input-enable;
|
|
drive-strength = <MTK_DRIVE_4mA>;
|
|
bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
|
|
};
|
|
|
|
pins_clk {
|
|
pinmux = <MT8173_PIN_77_MSDC1_CLK__FUNC_MSDC1_CLK>;
|
|
drive-strength = <MTK_DRIVE_4mA>;
|
|
bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
|
|
};
|
|
};
|
|
|
|
usb_id_pins_float: usb_iddig_pull_up {
|
|
pins_iddig {
|
|
pinmux = <MT8173_PIN_16_IDDIG__FUNC_IDDIG>;
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
|
|
usb_id_pins_ground: usb_iddig_pull_down {
|
|
pins_iddig {
|
|
pinmux = <MT8173_PIN_16_IDDIG__FUNC_IDDIG>;
|
|
bias-pull-down;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pwm0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&disp_pwm0_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
&pwrap {
|
|
/* Only MT8173 E1 needs USB power domain */
|
|
power-domains = <&scpsys MT8173_POWER_DOMAIN_USB>;
|
|
|
|
pmic: mt6397 {
|
|
compatible = "mediatek,mt6397";
|
|
interrupt-parent = <&pio>;
|
|
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
|
|
mt6397regulator: mt6397regulator {
|
|
compatible = "mediatek,mt6397-regulator";
|
|
|
|
mt6397_vpca15_reg: buck_vpca15 {
|
|
regulator-compatible = "buck_vpca15";
|
|
regulator-name = "vpca15";
|
|
regulator-min-microvolt = < 700000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vpca7_reg: buck_vpca7 {
|
|
regulator-compatible = "buck_vpca7";
|
|
regulator-name = "vpca7";
|
|
regulator-min-microvolt = < 700000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-enable-ramp-delay = <115>;
|
|
};
|
|
|
|
mt6397_vsramca15_reg: buck_vsramca15 {
|
|
regulator-compatible = "buck_vsramca15";
|
|
regulator-name = "vsramca15";
|
|
regulator-min-microvolt = < 700000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vsramca7_reg: buck_vsramca7 {
|
|
regulator-compatible = "buck_vsramca7";
|
|
regulator-name = "vsramca7";
|
|
regulator-min-microvolt = < 700000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vcore_reg: buck_vcore {
|
|
regulator-compatible = "buck_vcore";
|
|
regulator-name = "vcore";
|
|
regulator-min-microvolt = < 700000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vgpu_reg: buck_vgpu {
|
|
regulator-compatible = "buck_vgpu";
|
|
regulator-name = "vgpu";
|
|
regulator-min-microvolt = < 700000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-enable-ramp-delay = <115>;
|
|
};
|
|
|
|
mt6397_vdrm_reg: buck_vdrm {
|
|
regulator-compatible = "buck_vdrm";
|
|
regulator-name = "vdrm";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1400000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vio18_reg: buck_vio18 {
|
|
regulator-compatible = "buck_vio18";
|
|
regulator-name = "vio18";
|
|
regulator-min-microvolt = <1620000>;
|
|
regulator-max-microvolt = <1980000>;
|
|
regulator-ramp-delay = <12500>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vtcxo_reg: ldo_vtcxo {
|
|
regulator-compatible = "ldo_vtcxo";
|
|
regulator-name = "vtcxo";
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_va28_reg: ldo_va28 {
|
|
regulator-compatible = "ldo_va28";
|
|
regulator-name = "va28";
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vcama_reg: ldo_vcama {
|
|
regulator-compatible = "ldo_vcama";
|
|
regulator-name = "vcama";
|
|
regulator-min-microvolt = <1500000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vio28_reg: ldo_vio28 {
|
|
regulator-compatible = "ldo_vio28";
|
|
regulator-name = "vio28";
|
|
regulator-always-on;
|
|
};
|
|
|
|
mt6397_vusb_reg: ldo_vusb {
|
|
regulator-compatible = "ldo_vusb";
|
|
regulator-name = "vusb";
|
|
};
|
|
|
|
mt6397_vmc_reg: ldo_vmc {
|
|
regulator-compatible = "ldo_vmc";
|
|
regulator-name = "vmc";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vmch_reg: ldo_vmch {
|
|
regulator-compatible = "ldo_vmch";
|
|
regulator-name = "vmch";
|
|
regulator-min-microvolt = <3000000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vemc_3v3_reg: ldo_vemc3v3 {
|
|
regulator-compatible = "ldo_vemc3v3";
|
|
regulator-name = "vemc_3v3";
|
|
regulator-min-microvolt = <3000000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp1_reg: ldo_vgp1 {
|
|
regulator-compatible = "ldo_vgp1";
|
|
regulator-name = "vcamd";
|
|
regulator-min-microvolt = <1220000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <240>;
|
|
};
|
|
|
|
mt6397_vgp2_reg: ldo_vgp2 {
|
|
regulator-compatible = "ldo_vgp2";
|
|
regulator-name = "vcamio";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp3_reg: ldo_vgp3 {
|
|
regulator-compatible = "ldo_vgp3";
|
|
regulator-name = "vcamaf";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp4_reg: ldo_vgp4 {
|
|
regulator-compatible = "ldo_vgp4";
|
|
regulator-name = "vgp4";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp5_reg: ldo_vgp5 {
|
|
regulator-compatible = "ldo_vgp5";
|
|
regulator-name = "vgp5";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vgp6_reg: ldo_vgp6 {
|
|
regulator-compatible = "ldo_vgp6";
|
|
regulator-name = "vgp6";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
|
|
mt6397_vibr_reg: ldo_vibr {
|
|
regulator-compatible = "ldo_vibr";
|
|
regulator-name = "vibr";
|
|
regulator-min-microvolt = <1300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-enable-ramp-delay = <218>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&pio {
|
|
spi_pins_a: spi0 {
|
|
pins_spi {
|
|
pinmux = <MT8173_PIN_69_SPI_CK__FUNC_SPI_CK_0_>,
|
|
<MT8173_PIN_70_SPI_MI__FUNC_SPI_MI_0_>,
|
|
<MT8173_PIN_71_SPI_MO__FUNC_SPI_MO_0_>,
|
|
<MT8173_PIN_72_SPI_CS__FUNC_SPI_CS_0_>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&spi {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&spi_pins_a>;
|
|
mediatek,pad-select = <0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&ssusb {
|
|
vusb33-supply = <&mt6397_vusb_reg>;
|
|
vbus-supply = <&usb_p0_vbus>;
|
|
extcon = <&extcon_usb>;
|
|
dr_mode = "otg";
|
|
wakeup-source;
|
|
pinctrl-names = "default", "id_float", "id_ground";
|
|
pinctrl-0 = <&usb_id_pins_float>;
|
|
pinctrl-1 = <&usb_id_pins_float>;
|
|
pinctrl-2 = <&usb_id_pins_ground>;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb_host {
|
|
vusb33-supply = <&mt6397_vusb_reg>;
|
|
vbus-supply = <&usb_p1_vbus>;
|
|
status = "okay";
|
|
};
|