mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 06:26:48 +07:00
251ed17395
This adds DT bindings for an AS3711 PMIC, used for supplying power to the CPU, some peripherals and the backlight, as well as extends the cpu0 DT node with OPPs and a reference to the PMIC to support the CPUFreq and CPU DVFS functions. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
166 lines
3.5 KiB
Plaintext
166 lines
3.5 KiB
Plaintext
/*
|
|
* Device Tree Source for the KZM-A9-GT board
|
|
*
|
|
* Copyright (C) 2012 Horms Solutions Ltd.
|
|
*
|
|
* Based on sh73a0-kzm9g.dts
|
|
* Copyright (C) 2012 Renesas Solutions Corp.
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "sh73a0.dtsi"
|
|
|
|
/ {
|
|
model = "KZM-A9-GT";
|
|
compatible = "renesas,kzm9g-reference", "renesas,sh73a0";
|
|
|
|
cpus {
|
|
cpu@0 {
|
|
cpu0-supply = <&vdd_dvfs>;
|
|
operating-points = <
|
|
/* kHz uV */
|
|
1196000 1315000
|
|
598000 1175000
|
|
398667 1065000
|
|
>;
|
|
voltage-tolerance = <1>; /* 1% */
|
|
};
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=tty0 console=ttySC4,115200 root=/dev/nfs ip=dhcp ignore_loglevel earlyprintk=sh-sci.4,115200";
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x41000000 0x1e800000>;
|
|
};
|
|
|
|
reg_1p8v: regulator@0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "fixed-1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
reg_3p3v: regulator@1 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "fixed-3.3V";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
lan9220@10000000 {
|
|
compatible = "smsc,lan9220", "smsc,lan9115";
|
|
reg = <0x10000000 0x100>;
|
|
phy-mode = "mii";
|
|
interrupt-parent = <&irqpin0>;
|
|
interrupts = <3 0>; /* active low */
|
|
reg-io-width = <4>;
|
|
smsc,irq-push-pull;
|
|
smsc,save-mac-address;
|
|
vddvario-supply = <®_1p8v>;
|
|
vdd33a-supply = <®_3p3v>;
|
|
};
|
|
};
|
|
|
|
&i2c0 {
|
|
as3711@40 {
|
|
compatible = "ams,as3711";
|
|
reg = <0x40>;
|
|
|
|
regulators {
|
|
vdd_dvfs: sd1 {
|
|
regulator-name = "1.315V CPU";
|
|
regulator-min-microvolt = <1050000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
sd2 {
|
|
regulator-name = "1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
sd4 {
|
|
regulator-name = "1.215V";
|
|
regulator-min-microvolt = <1215000>;
|
|
regulator-max-microvolt = <1235000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
ldo2 {
|
|
regulator-name = "2.8V CPU";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
ldo3 {
|
|
regulator-name = "3.0V CPU";
|
|
regulator-min-microvolt = <3000000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
ldo4 {
|
|
regulator-name = "2.8V";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
ldo5 {
|
|
regulator-name = "2.8V #2";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
ldo7 {
|
|
regulator-name = "1.15V CPU";
|
|
regulator-min-microvolt = <1150000>;
|
|
regulator-max-microvolt = <1150000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
ldo8 {
|
|
regulator-name = "1.15V CPU #2";
|
|
regulator-min-microvolt = <1150000>;
|
|
regulator-max-microvolt = <1150000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&mmcif {
|
|
bus-width = <8>;
|
|
vmmc-supply = <®_1p8v>;
|
|
status = "okay";
|
|
};
|
|
|
|
&sdhi0 {
|
|
vmmc-supply = <®_3p3v>;
|
|
bus-width = <4>;
|
|
status = "okay";
|
|
};
|
|
|
|
&sdhi2 {
|
|
vmmc-supply = <®_3p3v>;
|
|
bus-width = <4>;
|
|
broken-cd;
|
|
status = "okay";
|
|
};
|