Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/matt-nb8-mediatek]: src/sys/external/gpl2/dts/dist/arch/arm/boot/dts DTS...



details:   https://anonhg.NetBSD.org/src/rev/702b206762a8
branches:  matt-nb8-mediatek
changeset: 851117:702b206762a8
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Dec 13 01:33:19 2017 +0000

description:
DTS files for the Mediatek ATLAS board

diffstat:

 sys/external/gpl2/dts/dist/arch/arm/boot/dts/mtkatlas.dts    |  286 +++++++++++
 sys/external/gpl2/dts/dist/arch/arm/boot/dts/mtkmercury.dtsi |  285 ++++++++++
 2 files changed, 571 insertions(+), 0 deletions(-)

diffs (truncated from 579 to 300 lines):

diff -r 27341a02a874 -r 702b206762a8 sys/external/gpl2/dts/dist/arch/arm/boot/dts/mtkatlas.dts
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/gpl2/dts/dist/arch/arm/boot/dts/mtkatlas.dts Wed Dec 13 01:33:19 2017 +0000
@@ -0,0 +1,286 @@
+/*
+ * Copyright (c) 2014-2015 MediaTek Inc.
+ *
+ * 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,
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+
+/dts-v1/;
+
+#include "mtkmercury.dtsi"
+
+/ {
+       memory@00000000 {
+               device_type = "memory";
+               reg = <0 0x40000000 0 0x18000000>;
+       };
+
+       aliases {
+               serial0 = &uart0;
+       };
+
+       /* chosen */
+       chosen {
+               stdout-path = "serial0:921600n8";
+       };
+};
+
+
+/* reg = <0 0x40000000 0 0x20000000>; */
+/* bootargs = "console=ttyS0,921600n1 root=/dev/ram initrd=0x44000200,0x200000"; */
+
+&pwrap {
+       status = "okay";
+
+       pmic: mt6392 {
+               compatible = "mediatek,mt6392";
+
+               mediatek,system-power-controller;
+
+               mt6392keys: mt6392keys {
+                       compatible = "mediatek,mt6392-keys";
+                       mediatek,pwrkey-code = <116>;
+                       mediatek,homekey-code = <114>;
+                       mediatek,long-press-mode = <0>;
+                       mediatek,long-press-duration = <0>;
+               };
+
+               mt6392pmic: mt6392pmic {
+                       compatible = "mediatek,mt6392-pmic";
+               };
+
+               mt6392regulator: mt6392regulator {
+                       compatible = "mediatek,mt6392-regulator";
+
+                       mt6392_vproc_reg: buck_vproc {
+                               regulator-name = "vproc";
+                               regulator-min-microvolt = < 700000>;
+                               regulator-max-microvolt = <1350000>;
+                               regulator-ramp-delay = <12500>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vsys_reg: buck_vsys {
+                               regulator-name = "vsys";
+                               regulator-min-microvolt = <1400000>;
+                               regulator-max-microvolt = <2987500>;
+                               regulator-ramp-delay = <25000>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vcore_reg: buck_vcore {
+                               regulator-name = "vcore";
+                               regulator-min-microvolt = < 700000>;
+                               regulator-max-microvolt = <1350000>;
+                               regulator-ramp-delay = <12500>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vxo22_reg: ldo_vxo22 {
+                               regulator-name = "vxo22";
+                               regulator-min-microvolt = <2200000>;
+                               regulator-max-microvolt = <2200000>;
+                               regulator-enable-ramp-delay = <110>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vaud22_reg: ldo_vaud22 {
+                               regulator-name = "vaud22";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <2200000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vcama_reg: ldo_vcama {
+                               regulator-name = "vcama";
+                               regulator-min-microvolt = <2800000>;
+                               regulator-max-microvolt = <2800000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+
+                       mt6392_vaud28_reg: ldo_vaud28 {
+                               regulator-name = "vaud28";
+                               regulator-min-microvolt = <2800000>;
+                               regulator-max-microvolt = <2800000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vadc18_reg: ldo_vadc18 {
+                               regulator-name = "vadc18";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <1800000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vcn35_reg: ldo_vcn35 {
+                               regulator-name = "vcn35";
+                               regulator-min-microvolt = <3300000>;
+                               regulator-max-microvolt = <3600000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+
+                       mt6392_vio28_reg: ldo_vio28 {
+                               regulator-name = "vio28";
+                               regulator-min-microvolt = <2800000>;
+                               regulator-max-microvolt = <2800000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vusb_reg: ldo_vusb {
+                               regulator-name = "vusb";
+                               regulator-min-microvolt = <3300000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vmc_reg: ldo_vmc {
+                               regulator-name = "vmc";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vmch_reg: ldo_vmch {
+                               regulator-name = "vmch";
+                               regulator-min-microvolt = <3000000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vemc3v3_reg: ldo_vemc3v3 {
+                               regulator-name = "vemc3v3";
+                               regulator-min-microvolt = <3000000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vgp1_reg: ldo_vgp1 {
+                               regulator-name = "vgp1";
+                               regulator-min-microvolt = <1200000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+
+                       mt6392_vgp2_reg: ldo_vgp2 {
+                               regulator-name = "vgp2";
+                               regulator-min-microvolt = <1200000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+
+                       mt6392_vcn18_reg: ldo_vcn18 {
+                               regulator-name = "vcn18";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <1800000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+
+                       mt6392_vcamaf_reg: ldo_vcamaf {
+                               regulator-name = "vcamaf";
+                               regulator-min-microvolt = <1200000>;
+                               regulator-max-microvolt = <3300000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+
+                       mt6392_vm_reg: ldo_vm {
+                               regulator-name = "vm";
+                               regulator-min-microvolt = <1240000>;
+                               regulator-max-microvolt = <1390000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vio18_reg: ldo_vio18 {
+                               regulator-name = "vio18";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <1800000>;
+                               regulator-enable-ramp-delay = <264>;
+                               regulator-always-on;
+                               regulator-boot-on;
+                       };
+
+                       mt6392_vcamd_reg: ldo_vcamd {
+                               regulator-name = "vcamd";
+                               regulator-min-microvolt = <1200000>;
+                               regulator-max-microvolt = <1800000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+
+                       mt6392_vcamio_reg: ldo_vcamio {
+                               regulator-name = "vcamio";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <1800000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+
+                       mt6392_vm25_reg: ldo_vm25 {
+                               regulator-name = "vm25";
+                               regulator-min-microvolt = <2500000>;
+                               regulator-max-microvolt = <2500000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+
+                       mt6392_vefuse_reg: ldo_vefuse {
+                               regulator-name = "vefuse";
+                               regulator-min-microvolt = <1800000>;
+                               regulator-max-microvolt = <2000000>;
+                               regulator-enable-ramp-delay = <264>;
+                       };
+               };
+
+               pio6392: pinctrl@c000 {
+                       compatible = "mediatek,mt6392-pinctrl";
+                       pins-are-numbered;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+               };
+
+               typec: typec {
+                       compatible = "mediatek,mt6392-typec";
+                       status = "disabled";
+               };
+       };
+};
+
+&feth {
+       status = "okay";
+};
+
+&usb0 {
+       status = "okay";
+};
+
+&u2port0 {
+       status = "okay";
+};
+
+&usb1 {
+       status = "okay";
+};
+
+&u2port1 {
+       status = "okay";
+};
diff -r 27341a02a874 -r 702b206762a8 sys/external/gpl2/dts/dist/arch/arm/boot/dts/mtkmercury.dtsi
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/external/gpl2/dts/dist/arch/arm/boot/dts/mtkmercury.dtsi      Wed Dec 13 01:33:19 2017 +0000
@@ -0,0 +1,285 @@
+/*
+ * Copyright (c) 2017 MediaTek Inc.
+ * Author: Eddie Huang <eddie.huang%mediatek.com@localhost>
+ *
+ * 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



Home | Main Index | Thread Index | Old Index