mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 12:44:23 +08:00
arm: dts: Import device tree for ST-Ericsson Ux500
from https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git/ tag "ux500-armsoc-v5.6-2" commit 224bf0fe7292 ("ARM: dts: ux500: samsung-golden: Add Bluetooth") (queued for merge in Linux 5.6) Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
057b613990
commit
f13dc8cbd9
328
arch/arm/dts/ste-ab8500.dtsi
Normal file
328
arch/arm/dts/ste-ab8500.dtsi
Normal file
@ -0,0 +1,328 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* Copyright 2012 Linaro Ltd
|
||||
*/
|
||||
|
||||
#include <dt-bindings/clock/ste-ab8500.h>
|
||||
|
||||
/ {
|
||||
/* Essential housekeeping hardware monitors */
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&gpadc 0x02>, /* Battery temperature */
|
||||
<&gpadc 0x03>, /* Main charger voltage */
|
||||
<&gpadc 0x08>, /* Main battery voltage */
|
||||
<&gpadc 0x09>, /* VBUS */
|
||||
<&gpadc 0x0a>, /* Main charger current */
|
||||
<&gpadc 0x0b>, /* USB charger current */
|
||||
<&gpadc 0x0c>, /* Backup battery voltage */
|
||||
<&gpadc 0x0d>, /* Die temperature */
|
||||
<&gpadc 0x12>; /* Crystal temperature */
|
||||
};
|
||||
|
||||
soc {
|
||||
prcmu@80157000 {
|
||||
ab8500 {
|
||||
compatible = "stericsson,ab8500";
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
ab8500_clock: clock-controller {
|
||||
compatible = "stericsson,ab8500-clk";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
ab8500_gpio: ab8500-gpio {
|
||||
compatible = "stericsson,ab8500-gpio";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
ab8500-rtc {
|
||||
compatible = "stericsson,ab8500-rtc";
|
||||
interrupts = <17 IRQ_TYPE_LEVEL_HIGH
|
||||
18 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "60S", "ALARM";
|
||||
};
|
||||
|
||||
gpadc: ab8500-gpadc {
|
||||
compatible = "stericsson,ab8500-gpadc";
|
||||
interrupts = <32 IRQ_TYPE_LEVEL_HIGH
|
||||
39 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "HW_CONV_END", "SW_CONV_END";
|
||||
vddadc-supply = <&ab8500_ldo_tvout_reg>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
#io-channel-cells = <1>;
|
||||
|
||||
/* GPADC channels */
|
||||
bat_ctrl: channel@01 {
|
||||
reg = <0x01>;
|
||||
};
|
||||
btemp_ball: channel@02 {
|
||||
reg = <0x02>;
|
||||
};
|
||||
main_charger_v: channel@03 {
|
||||
reg = <0x03>;
|
||||
};
|
||||
acc_detect1: channel@04 {
|
||||
reg = <0x04>;
|
||||
};
|
||||
acc_detect2: channel@05 {
|
||||
reg = <0x05>;
|
||||
};
|
||||
adc_aux1: channel@06 {
|
||||
reg = <0x06>;
|
||||
};
|
||||
adc_aux2: channel@07 {
|
||||
reg = <0x07>;
|
||||
};
|
||||
main_batt_v: channel@08 {
|
||||
reg = <0x08>;
|
||||
};
|
||||
vbus_v: channel@09 {
|
||||
reg = <0x09>;
|
||||
};
|
||||
main_charger_c: channel@0a {
|
||||
reg = <0x0a>;
|
||||
};
|
||||
usb_charger_c: channel@0b {
|
||||
reg = <0x0b>;
|
||||
};
|
||||
bk_bat_v: channel@0c {
|
||||
reg = <0x0c>;
|
||||
};
|
||||
die_temp: channel@0d {
|
||||
reg = <0x0d>;
|
||||
};
|
||||
usb_id: channel@0e {
|
||||
reg = <0x0e>;
|
||||
};
|
||||
xtal_temp: channel@12 {
|
||||
reg = <0x12>;
|
||||
};
|
||||
vbat_true_meas: channel@13 {
|
||||
reg = <0x13>;
|
||||
};
|
||||
bat_ctrl_and_ibat: channel@1c {
|
||||
reg = <0x1c>;
|
||||
};
|
||||
vbat_meas_and_ibat: channel@1d {
|
||||
reg = <0x1d>;
|
||||
};
|
||||
vbat_true_meas_and_ibat: channel@1e {
|
||||
reg = <0x1e>;
|
||||
};
|
||||
bat_temp_and_ibat: channel@1f {
|
||||
reg = <0x1f>;
|
||||
};
|
||||
};
|
||||
|
||||
ab8500_temp {
|
||||
compatible = "stericsson,abx500-temp";
|
||||
io-channels = <&gpadc 0x06>,
|
||||
<&gpadc 0x07>;
|
||||
io-channel-name = "aux1", "aux2";
|
||||
};
|
||||
|
||||
ab8500_battery: ab8500_battery {
|
||||
stericsson,battery-type = "LIPO";
|
||||
thermistor-on-batctrl;
|
||||
};
|
||||
|
||||
ab8500_fg {
|
||||
compatible = "stericsson,ab8500-fg";
|
||||
battery = <&ab8500_battery>;
|
||||
io-channels = <&gpadc 0x08>;
|
||||
io-channel-name = "main_bat_v";
|
||||
};
|
||||
|
||||
ab8500_btemp {
|
||||
compatible = "stericsson,ab8500-btemp";
|
||||
battery = <&ab8500_battery>;
|
||||
io-channels = <&gpadc 0x02>,
|
||||
<&gpadc 0x01>;
|
||||
io-channel-name = "btemp_ball",
|
||||
"bat_ctrl";
|
||||
};
|
||||
|
||||
ab8500_charger {
|
||||
compatible = "stericsson,ab8500-charger";
|
||||
battery = <&ab8500_battery>;
|
||||
vddadc-supply = <&ab8500_ldo_tvout_reg>;
|
||||
io-channels = <&gpadc 0x03>,
|
||||
<&gpadc 0x0a>,
|
||||
<&gpadc 0x09>,
|
||||
<&gpadc 0x0b>;
|
||||
io-channel-name = "main_charger_v",
|
||||
"main_charger_c",
|
||||
"vbus_v",
|
||||
"usb_charger_c";
|
||||
};
|
||||
|
||||
ab8500_chargalg {
|
||||
compatible = "stericsson,ab8500-chargalg";
|
||||
battery = <&ab8500_battery>;
|
||||
};
|
||||
|
||||
ab8500_usb {
|
||||
compatible = "stericsson,ab8500-usb";
|
||||
interrupts = < 90 IRQ_TYPE_LEVEL_HIGH
|
||||
96 IRQ_TYPE_LEVEL_HIGH
|
||||
14 IRQ_TYPE_LEVEL_HIGH
|
||||
15 IRQ_TYPE_LEVEL_HIGH
|
||||
79 IRQ_TYPE_LEVEL_HIGH
|
||||
74 IRQ_TYPE_LEVEL_HIGH
|
||||
75 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "ID_WAKEUP_R",
|
||||
"ID_WAKEUP_F",
|
||||
"VBUS_DET_F",
|
||||
"VBUS_DET_R",
|
||||
"USB_LINK_STATUS",
|
||||
"USB_ADP_PROBE_PLUG",
|
||||
"USB_ADP_PROBE_UNPLUG";
|
||||
vddulpivio18-supply = <&ab8500_ldo_intcore_reg>;
|
||||
v-ape-supply = <&db8500_vape_reg>;
|
||||
musb_1v8-supply = <&db8500_vsmps2_reg>;
|
||||
clocks = <&prcmu_clk PRCMU_SYSCLK>;
|
||||
clock-names = "sysclk";
|
||||
};
|
||||
|
||||
ab8500-ponkey {
|
||||
compatible = "stericsson,ab8500-poweron-key";
|
||||
interrupts = <6 IRQ_TYPE_LEVEL_HIGH
|
||||
7 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
|
||||
};
|
||||
|
||||
ab8500-sysctrl {
|
||||
compatible = "stericsson,ab8500-sysctrl";
|
||||
};
|
||||
|
||||
ab8500-pwm {
|
||||
compatible = "stericsson,ab8500-pwm";
|
||||
clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
|
||||
clock-names = "intclk";
|
||||
};
|
||||
|
||||
ab8500-debugfs {
|
||||
compatible = "stericsson,ab8500-debug";
|
||||
};
|
||||
|
||||
codec: ab8500-codec {
|
||||
compatible = "stericsson,ab8500-codec";
|
||||
|
||||
V-AUD-supply = <&ab8500_ldo_audio_reg>;
|
||||
V-AMIC1-supply = <&ab8500_ldo_anamic1_reg>;
|
||||
V-AMIC2-supply = <&ab8500_ldo_anamic2_reg>;
|
||||
V-DMIC-supply = <&ab8500_ldo_dmic_reg>;
|
||||
|
||||
clocks = <&ab8500_clock AB8500_SYSCLK_AUDIO>;
|
||||
clock-names = "audioclk";
|
||||
|
||||
stericsson,earpeice-cmv = <950>; /* Units in mV. */
|
||||
};
|
||||
|
||||
ext_regulators: ab8500-ext-regulators {
|
||||
compatible = "stericsson,ab8500-ext-regulator";
|
||||
|
||||
ab8500_ext1_reg: ab8500_ext1 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
ab8500_ext2_reg: ab8500_ext2 {
|
||||
regulator-min-microvolt = <1360000>;
|
||||
regulator-max-microvolt = <1360000>;
|
||||
regulator-boot-on;
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
ab8500_ext3_reg: ab8500_ext3 {
|
||||
regulator-min-microvolt = <3400000>;
|
||||
regulator-max-microvolt = <3400000>;
|
||||
regulator-boot-on;
|
||||
};
|
||||
};
|
||||
|
||||
ab8500-regulators {
|
||||
compatible = "stericsson,ab8500-regulator";
|
||||
vin-supply = <&ab8500_ext3_reg>;
|
||||
|
||||
// supplies to the display/camera
|
||||
ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
|
||||
regulator-min-microvolt = <2500000>;
|
||||
regulator-max-microvolt = <2900000>;
|
||||
regulator-boot-on;
|
||||
/* BUG: If turned off MMC will be affected. */
|
||||
regulator-always-on;
|
||||
};
|
||||
|
||||
// supplies to the on-board eMMC
|
||||
ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
// supply for VAUX3; SDcard slots
|
||||
ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
// supply for v-intcore12; VINTCORE12 LDO
|
||||
ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
|
||||
};
|
||||
|
||||
// supply for tvout; gpadc; TVOUT LDO
|
||||
ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
|
||||
};
|
||||
|
||||
// supply for ab8500-vaudio; VAUDIO LDO
|
||||
ab8500_ldo_audio_reg: ab8500_ldo_audio {
|
||||
};
|
||||
|
||||
// supply for v-anamic1 VAMIC1 LDO
|
||||
ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
|
||||
};
|
||||
|
||||
// supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1
|
||||
ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
|
||||
};
|
||||
|
||||
// supply for v-dmic; VDMIC LDO
|
||||
ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
|
||||
};
|
||||
|
||||
// supply for U8500 CSI/DSI; VANA LDO
|
||||
ab8500_ldo_ana_reg: ab8500_ldo_ana {
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sound {
|
||||
stericsson,audio-codec = <&codec>;
|
||||
clocks = <&prcmu_clk PRCMU_SYSCLK>, <&ab8500_clock AB8500_SYSCLK_ULP>, <&ab8500_clock AB8500_SYSCLK_INT>;
|
||||
clock-names = "sysclk", "ulpclk", "intclk";
|
||||
};
|
||||
|
||||
mcde@a0350000 {
|
||||
vana-supply = <&ab8500_ldo_ana_reg>;
|
||||
|
||||
dsi@a0351000 {
|
||||
vana-supply = <&ab8500_ldo_ana_reg>;
|
||||
};
|
||||
dsi@a0352000 {
|
||||
vana-supply = <&ab8500_ldo_ana_reg>;
|
||||
};
|
||||
dsi@a0353000 {
|
||||
vana-supply = <&ab8500_ldo_ana_reg>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
275
arch/arm/dts/ste-ab8505.dtsi
Normal file
275
arch/arm/dts/ste-ab8505.dtsi
Normal file
@ -0,0 +1,275 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* Copyright 2012 Linaro Ltd
|
||||
*/
|
||||
|
||||
#include <dt-bindings/clock/ste-ab8500.h>
|
||||
|
||||
/ {
|
||||
/* Essential housekeeping hardware monitors */
|
||||
iio-hwmon {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&gpadc 0x02>, /* Battery temperature */
|
||||
<&gpadc 0x08>, /* Main battery voltage */
|
||||
<&gpadc 0x09>, /* VBUS */
|
||||
<&gpadc 0x0b>, /* Charger current */
|
||||
<&gpadc 0x0c>; /* Backup battery voltage */
|
||||
};
|
||||
|
||||
soc {
|
||||
prcmu@80157000 {
|
||||
ab8505 {
|
||||
compatible = "stericsson,ab8505";
|
||||
interrupt-parent = <&intc>;
|
||||
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
||||
ab8500_clock: clock-controller {
|
||||
compatible = "stericsson,ab8500-clk";
|
||||
#clock-cells = <1>;
|
||||
};
|
||||
|
||||
ab8505_gpio: ab8505-gpio {
|
||||
compatible = "stericsson,ab8505-gpio";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
};
|
||||
|
||||
ab8500-rtc {
|
||||
compatible = "stericsson,ab8500-rtc";
|
||||
interrupts = <17 IRQ_TYPE_LEVEL_HIGH
|
||||
18 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "60S", "ALARM";
|
||||
};
|
||||
|
||||
gpadc: ab8500-gpadc {
|
||||
compatible = "stericsson,ab8500-gpadc";
|
||||
interrupts = <32 IRQ_TYPE_LEVEL_HIGH
|
||||
39 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "HW_CONV_END", "SW_CONV_END";
|
||||
vddadc-supply = <&ab8500_ldo_adc_reg>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
#io-channel-cells = <1>;
|
||||
|
||||
/* GPADC channels */
|
||||
bat_ctrl: channel@01 {
|
||||
reg = <0x01>;
|
||||
};
|
||||
btemp_ball: channel@02 {
|
||||
reg = <0x02>;
|
||||
};
|
||||
acc_detect1: channel@04 {
|
||||
reg = <0x04>;
|
||||
};
|
||||
acc_detect2: channel@05 {
|
||||
reg = <0x05>;
|
||||
};
|
||||
adc_aux1: channel@06 {
|
||||
reg = <0x06>;
|
||||
};
|
||||
adc_aux2: channel@07 {
|
||||
reg = <0x07>;
|
||||
};
|
||||
main_batt_v: channel@08 {
|
||||
reg = <0x08>;
|
||||
};
|
||||
vbus_v: channel@09 {
|
||||
reg = <0x09>;
|
||||
};
|
||||
charger_c: channel@0b {
|
||||
reg = <0x0b>;
|
||||
};
|
||||
bk_bat_v: channel@0c {
|
||||
reg = <0x0c>;
|
||||
};
|
||||
usb_id: channel@0e {
|
||||
reg = <0x0e>;
|
||||
};
|
||||
};
|
||||
|
||||
ab8500_battery: ab8500_battery {
|
||||
status = "disabled";
|
||||
thermistor-on-batctrl;
|
||||
};
|
||||
|
||||
ab8500_fg {
|
||||
status = "disabled";
|
||||
compatible = "stericsson,ab8500-fg";
|
||||
battery = <&ab8500_battery>;
|
||||
io-channels = <&gpadc 0x08>;
|
||||
io-channel-name = "main_bat_v";
|
||||
};
|
||||
|
||||
ab8500_btemp {
|
||||
status = "disabled";
|
||||
compatible = "stericsson,ab8500-btemp";
|
||||
battery = <&ab8500_battery>;
|
||||
io-channels = <&gpadc 0x02>,
|
||||
<&gpadc 0x01>;
|
||||
io-channel-name = "btemp_ball",
|
||||
"bat_ctrl";
|
||||
};
|
||||
|
||||
ab8500_charger {
|
||||
status = "disabled";
|
||||
compatible = "stericsson,ab8500-charger";
|
||||
battery = <&ab8500_battery>;
|
||||
vddadc-supply = <&ab8500_ldo_adc_reg>;
|
||||
io-channels = <&gpadc 0x09>,
|
||||
<&gpadc 0x0b>;
|
||||
io-channel-name = "vbus_v",
|
||||
"usb_charger_c";
|
||||
};
|
||||
|
||||
ab8500_chargalg {
|
||||
status = "disabled";
|
||||
compatible = "stericsson,ab8500-chargalg";
|
||||
battery = <&ab8500_battery>;
|
||||
};
|
||||
|
||||
ab8500_usb: ab8500_usb {
|
||||
compatible = "stericsson,ab8500-usb";
|
||||
interrupts = < 90 IRQ_TYPE_LEVEL_HIGH
|
||||
96 IRQ_TYPE_LEVEL_HIGH
|
||||
14 IRQ_TYPE_LEVEL_HIGH
|
||||
15 IRQ_TYPE_LEVEL_HIGH
|
||||
79 IRQ_TYPE_LEVEL_HIGH
|
||||
74 IRQ_TYPE_LEVEL_HIGH
|
||||
75 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "ID_WAKEUP_R",
|
||||
"ID_WAKEUP_F",
|
||||
"VBUS_DET_F",
|
||||
"VBUS_DET_R",
|
||||
"USB_LINK_STATUS",
|
||||
"USB_ADP_PROBE_PLUG",
|
||||
"USB_ADP_PROBE_UNPLUG";
|
||||
vddulpivio18-supply = <&ab8500_ldo_intcore_reg>;
|
||||
v-ape-supply = <&db8500_vape_reg>;
|
||||
musb_1v8-supply = <&db8500_vsmps2_reg>;
|
||||
clocks = <&prcmu_clk PRCMU_SYSCLK>;
|
||||
clock-names = "sysclk";
|
||||
};
|
||||
|
||||
ab8500-ponkey {
|
||||
compatible = "stericsson,ab8500-poweron-key";
|
||||
interrupts = <6 IRQ_TYPE_LEVEL_HIGH
|
||||
7 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "ONKEY_DBF", "ONKEY_DBR";
|
||||
};
|
||||
|
||||
ab8500-sysctrl {
|
||||
compatible = "stericsson,ab8500-sysctrl";
|
||||
};
|
||||
|
||||
ab8500-pwm {
|
||||
compatible = "stericsson,ab8500-pwm";
|
||||
clocks = <&ab8500_clock AB8500_SYSCLK_INT>;
|
||||
clock-names = "intclk";
|
||||
};
|
||||
|
||||
ab8500-debugfs {
|
||||
compatible = "stericsson,ab8500-debug";
|
||||
};
|
||||
|
||||
codec: ab8500-codec {
|
||||
compatible = "stericsson,ab8500-codec";
|
||||
|
||||
V-AUD-supply = <&ab8500_ldo_audio_reg>;
|
||||
V-AMIC1-supply = <&ab8500_ldo_anamic1_reg>;
|
||||
V-AMIC2-supply = <&ab8500_ldo_anamic2_reg>;
|
||||
|
||||
clocks = <&ab8500_clock AB8500_SYSCLK_AUDIO>;
|
||||
clock-names = "audioclk";
|
||||
|
||||
stericsson,earpeice-cmv = <950>; /* Units in mV. */
|
||||
};
|
||||
|
||||
ab8505-regulators {
|
||||
compatible = "stericsson,ab8505-regulator";
|
||||
|
||||
ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
|
||||
regulator-min-microvolt = <2800000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
ab8500_ldo_aux4_reg: ab8500_ldo_aux4 {
|
||||
regulator-min-microvolt = <1100000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
};
|
||||
|
||||
ab8500_ldo_aux5_reg: ab8500_ldo_aux5 {
|
||||
regulator-min-microvolt = <1050000>;
|
||||
regulator-max-microvolt = <2790000>;
|
||||
};
|
||||
|
||||
ab8500_ldo_aux6_reg: ab8500_ldo_aux6 {
|
||||
regulator-min-microvolt = <1050000>;
|
||||
regulator-max-microvolt = <2790000>;
|
||||
};
|
||||
|
||||
// supply for v-intcore12; VINTCORE12 LDO
|
||||
ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
|
||||
regulator-min-microvolt = <1250000>;
|
||||
regulator-max-microvolt = <1350000>;
|
||||
};
|
||||
|
||||
// supply for gpadc; ADC LDO
|
||||
ab8500_ldo_adc_reg: ab8500_ldo_adc {
|
||||
};
|
||||
|
||||
// supply for ab8500-vaudio; VAUDIO LDO
|
||||
ab8500_ldo_audio_reg: ab8500_ldo_audio {
|
||||
};
|
||||
|
||||
// supply for v-anamic1 VAMIC1 LDO
|
||||
ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
|
||||
};
|
||||
|
||||
// supply for v-amic2; VAMIC2 LDO; reuse constants for AMIC1
|
||||
ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
|
||||
};
|
||||
|
||||
// supply for v-aux8; VAUX8 LDO
|
||||
ab8500_ldo_aux8_reg: ab8500_ldo_aux8 {
|
||||
};
|
||||
|
||||
// supply for U8500 CSI/DSI; VANA LDO
|
||||
ab8500_ldo_ana_reg: ab8500_ldo_ana {
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sound {
|
||||
stericsson,audio-codec = <&codec>;
|
||||
clocks = <&prcmu_clk PRCMU_SYSCLK>, <&ab8500_clock AB8500_SYSCLK_ULP>, <&ab8500_clock AB8500_SYSCLK_INT>;
|
||||
clock-names = "sysclk", "ulpclk", "intclk";
|
||||
};
|
||||
|
||||
mcde@a0350000 {
|
||||
vana-supply = <&ab8500_ldo_ana_reg>;
|
||||
|
||||
dsi@a0351000 {
|
||||
vana-supply = <&ab8500_ldo_ana_reg>;
|
||||
};
|
||||
dsi@a0352000 {
|
||||
vana-supply = <&ab8500_ldo_ana_reg>;
|
||||
};
|
||||
dsi@a0353000 {
|
||||
vana-supply = <&ab8500_ldo_ana_reg>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
1144
arch/arm/dts/ste-dbx5x0.dtsi
Normal file
1144
arch/arm/dts/ste-dbx5x0.dtsi
Normal file
File diff suppressed because it is too large
Load Diff
15
include/dt-bindings/arm/ux500_pm_domains.h
Normal file
15
include/dt-bindings/arm/ux500_pm_domains.h
Normal file
@ -0,0 +1,15 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (C) 2014 Linaro Ltd.
|
||||
*
|
||||
* Author: Ulf Hansson <ulf.hansson@linaro.org>
|
||||
*/
|
||||
#ifndef _DT_BINDINGS_ARM_UX500_PM_DOMAINS_H
|
||||
#define _DT_BINDINGS_ARM_UX500_PM_DOMAINS_H
|
||||
|
||||
#define DOMAIN_VAPE 0
|
||||
|
||||
/* Number of PM domains. */
|
||||
#define NR_DOMAINS (DOMAIN_VAPE + 1)
|
||||
|
||||
#endif
|
12
include/dt-bindings/clock/ste-ab8500.h
Normal file
12
include/dt-bindings/clock/ste-ab8500.h
Normal file
@ -0,0 +1,12 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef __STE_CLK_AB8500_H__
|
||||
#define __STE_CLK_AB8500_H__
|
||||
|
||||
#define AB8500_SYSCLK_BUF2 0
|
||||
#define AB8500_SYSCLK_BUF3 1
|
||||
#define AB8500_SYSCLK_BUF4 2
|
||||
#define AB8500_SYSCLK_ULP 3
|
||||
#define AB8500_SYSCLK_INT 4
|
||||
#define AB8500_SYSCLK_AUDIO 5
|
||||
|
||||
#endif
|
84
include/dt-bindings/mfd/dbx500-prcmu.h
Normal file
84
include/dt-bindings/mfd/dbx500-prcmu.h
Normal file
@ -0,0 +1,84 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/*
|
||||
* This header provides constants for the PRCMU bindings.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _DT_BINDINGS_MFD_PRCMU_H
|
||||
#define _DT_BINDINGS_MFD_PRCMU_H
|
||||
|
||||
/*
|
||||
* Clock identifiers.
|
||||
*/
|
||||
#define ARMCLK 0
|
||||
#define PRCMU_ACLK 1
|
||||
#define PRCMU_SVAMMCSPCLK 2
|
||||
#define PRCMU_SDMMCHCLK 2 /* DBx540 only. */
|
||||
#define PRCMU_SIACLK 3
|
||||
#define PRCMU_SIAMMDSPCLK 3 /* DBx540 only. */
|
||||
#define PRCMU_SGACLK 4
|
||||
#define PRCMU_UARTCLK 5
|
||||
#define PRCMU_MSP02CLK 6
|
||||
#define PRCMU_MSP1CLK 7
|
||||
#define PRCMU_I2CCLK 8
|
||||
#define PRCMU_SDMMCCLK 9
|
||||
#define PRCMU_SLIMCLK 10
|
||||
#define PRCMU_CAMCLK 10 /* DBx540 only. */
|
||||
#define PRCMU_PER1CLK 11
|
||||
#define PRCMU_PER2CLK 12
|
||||
#define PRCMU_PER3CLK 13
|
||||
#define PRCMU_PER5CLK 14
|
||||
#define PRCMU_PER6CLK 15
|
||||
#define PRCMU_PER7CLK 16
|
||||
#define PRCMU_LCDCLK 17
|
||||
#define PRCMU_BMLCLK 18
|
||||
#define PRCMU_HSITXCLK 19
|
||||
#define PRCMU_HSIRXCLK 20
|
||||
#define PRCMU_HDMICLK 21
|
||||
#define PRCMU_APEATCLK 22
|
||||
#define PRCMU_APETRACECLK 23
|
||||
#define PRCMU_MCDECLK 24
|
||||
#define PRCMU_IPI2CCLK 25
|
||||
#define PRCMU_DSIALTCLK 26
|
||||
#define PRCMU_DMACLK 27
|
||||
#define PRCMU_B2R2CLK 28
|
||||
#define PRCMU_TVCLK 29
|
||||
#define SPARE_UNIPROCLK 30
|
||||
#define PRCMU_SSPCLK 31
|
||||
#define PRCMU_RNGCLK 32
|
||||
#define PRCMU_UICCCLK 33
|
||||
#define PRCMU_G1CLK 34 /* DBx540 only. */
|
||||
#define PRCMU_HVACLK 35 /* DBx540 only. */
|
||||
#define PRCMU_SPARE1CLK 36
|
||||
#define PRCMU_SPARE2CLK 37
|
||||
|
||||
#define PRCMU_NUM_REG_CLOCKS 38
|
||||
|
||||
#define PRCMU_RTCCLK PRCMU_NUM_REG_CLOCKS
|
||||
#define PRCMU_SYSCLK 39
|
||||
#define PRCMU_CDCLK 40
|
||||
#define PRCMU_TIMCLK 41
|
||||
#define PRCMU_PLLSOC0 42
|
||||
#define PRCMU_PLLSOC1 43
|
||||
#define PRCMU_ARMSS 44
|
||||
#define PRCMU_PLLDDR 45
|
||||
|
||||
/* DSI Clocks */
|
||||
#define PRCMU_PLLDSI 46
|
||||
#define PRCMU_DSI0CLK 47
|
||||
#define PRCMU_DSI1CLK 48
|
||||
#define PRCMU_DSI0ESCCLK 49
|
||||
#define PRCMU_DSI1ESCCLK 50
|
||||
#define PRCMU_DSI2ESCCLK 51
|
||||
|
||||
/* LCD DSI PLL - Ux540 only */
|
||||
#define PRCMU_PLLDSI_LCD 52
|
||||
#define PRCMU_DSI0CLK_LCD 53
|
||||
#define PRCMU_DSI1CLK_LCD 54
|
||||
#define PRCMU_DSI0ESCCLK_LCD 55
|
||||
#define PRCMU_DSI1ESCCLK_LCD 56
|
||||
#define PRCMU_DSI2ESCCLK_LCD 57
|
||||
|
||||
#define PRCMU_NUM_CLKS 58
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user