forked from Minki/linux
a233bb742a
DT changes continue to be the bulk of our merge window contents. We continue to have a large set of changes across the board as new platforms and drivers are added. Some of the new platforms are: - Alphascale ASM9260 - Marvell Armada 388 - CSR Atlas7 - TI Davinci DM816x - Hisilicon HiP01 - ST STiH418 There have also been some sweeping changes, including relicensing of DTS contents from GPL to GPLv2+/X11 so that the same files can be reused in other non-GPL projects more easily. There's also been changes to the DT Makefile to make it a little less conflict-ridden and churny down the road. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJU4u0bAAoJEIwa5zzehBx3XFQP+wbVDp39ay3SRanFWeXqhfTe 6jRsYrOcq6BN/b1NugjD+yKIYp2MQhwlXbMmj/1vnmJ3XSY25ZMLlgs0/vsNk7W2 5e0xySwdhd1DjsajhZyN+5gUgqcTgOof/V+CbEUkijDDJ9v/WJbGZrpCHDz+UVTh dG9p1vrKoxDELAVbnp9muKZPlaQkAM60zJcHNJw9bJB5M0RCx4XFwPZc1cDLIsIZ lK/uYpKsgvgrGw5QuCtEK1/NkqLkBqgBfVg6xq0VB6OCYetqpxqs7kSZjnncIhQc PvxShsIJzb/dgfk7xBVb1+4Jfe5L/4poFwS69QuBlr/wiwc7wrhv37edgkyDlclS aj5xfOIhQdDaTkknFVs4QEkGAFg/lnTZnmiNiQdlsmDHqbWdTEELKShdVeMO7Zsg 6bPdDipA2jsQ86UWNwucis8QulzVTuyNuU+Mlrxp73b76+hKXLkbYcZ51FJ/xMD8 wLpCGqtc9Quirdb7Wy7XiVfesv3lKfDmzZB/6ZJ6zfadDvsqJPxAjNTA8VYZ9YeT EyW4K6CMOa5v+sLmIQUsAjKCYaul3PVDCi4voQjpS1ZtPLw+WN3zqX5XZZDT9Ll2 D1ycmInp/40KsQgjV36u1NlIKMM+oaUJaSzaSPGdgj3Zcw0YZi8O+h0m6iHrlzUB uGFufsLKmcOFY/sLwprt =XEw1 -----END PGP SIGNATURE----- Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC DT updates from Olof Johansson: "DT changes continue to be the bulk of our merge window contents. We continue to have a large set of changes across the board as new platforms and drivers are added. Some of the new platforms are: - Alphascale ASM9260 - Marvell Armada 388 - CSR Atlas7 - TI Davinci DM816x - Hisilicon HiP01 - ST STiH418 There have also been some sweeping changes, including relicensing of DTS contents from GPL to GPLv2+/X11 so that the same files can be reused in other non-GPL projects more easily. There's also been changes to the DT Makefile to make it a little less conflict-ridden and churny down the road" * tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (330 commits) ARM: dts: Add PPMU node for exynos4412-trats2 ARM: dts: Add PPMU node for exynos3250-monk and exynos3250-rinato ARM: dts: Add PPMU dt node for exynos4 and exynos4210 ARM: dts: Add PPMU dt node for exynos3250 ARM: dts: add mipi dsi device node for exynos4415 ARM: dts: add fimd device node for exynos4415 ARM: dts: Add syscon phandle to the video-phy node for Exynos4 ARM: dts: Add sound nodes for exynos4412-trats2 ARM: dts: Fix CLK_MOUT_CAMn parent clocks assignment for exynos4412-trats2 ARM: dts: Fix CLK_UART_ISP_SCLK clock assignment in exynos4x12.dtsi ARM: dts: Add max77693 charger node for exynos4412-trats2 ARM: dts: Switch max77686 regulators to GPIO control for exynos4412-trats2 ARM: dts: Add suspend configuration for max77686 regulators for exynos4412-trats2 ARM: dts: Add Maxim 77693 fuel gauge node for exynos4412-trats2 ARM: dts: am57xx-beagle-x15: Fix USB2 mode ARM: dts: am57xx-beagle-x15: Add extcon nodes for USB ARM: dts: dra72-evm: Add extcon nodes for USB ARM: dts: dra7-evm: Add extcon nodes for USB ARM: dts: rockchip: move the hdmi ddc-i2c-bus property to the actual boards ARM: dts: rockchip: enable vops and hdmi output on rk3288-firefly and -evb ...
429 lines
9.7 KiB
Plaintext
429 lines
9.7 KiB
Plaintext
/*
|
|
* Common definition for Hardkernel's Exynos4412 based ODROID-X/X2/U2/U3 boards
|
|
* device tree source
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#include <dt-bindings/sound/samsung-i2s.h>
|
|
#include <dt-bindings/input/input.h>
|
|
#include "exynos4412.dtsi"
|
|
|
|
/ {
|
|
chosen {
|
|
stdout-path = &serial_1;
|
|
};
|
|
|
|
firmware@0204F000 {
|
|
compatible = "samsung,secure-firmware";
|
|
reg = <0x0204F000 0x1000>;
|
|
};
|
|
|
|
gpio_keys {
|
|
compatible = "gpio-keys";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&gpio_power_key>;
|
|
|
|
power_key {
|
|
interrupt-parent = <&gpx1>;
|
|
interrupts = <3 0>;
|
|
gpios = <&gpx1 3 1>;
|
|
linux,code = <KEY_POWER>;
|
|
label = "power key";
|
|
debounce-interval = <10>;
|
|
gpio-key,wakeup;
|
|
};
|
|
};
|
|
|
|
i2s0: i2s@03830000 {
|
|
pinctrl-0 = <&i2s0_bus>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
clocks = <&clock_audss EXYNOS_I2S_BUS>,
|
|
<&clock_audss EXYNOS_DOUT_AUD_BUS>,
|
|
<&clock_audss EXYNOS_SCLK_I2S>;
|
|
clock-names = "iis", "i2s_opclk0", "i2s_opclk1";
|
|
};
|
|
|
|
sound: sound {
|
|
compatible = "simple-audio-card";
|
|
assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>,
|
|
<&clock_audss EXYNOS_MOUT_I2S>,
|
|
<&clock_audss EXYNOS_DOUT_SRP>,
|
|
<&clock_audss EXYNOS_DOUT_AUD_BUS>;
|
|
assigned-clock-parents = <&clock CLK_FOUT_EPLL>,
|
|
<&clock_audss EXYNOS_MOUT_AUDSS>;
|
|
assigned-clock-rates = <0>,
|
|
<0>,
|
|
<192000000>,
|
|
<19200000>;
|
|
|
|
simple-audio-card,format = "i2s";
|
|
simple-audio-card,bitclock-master = <&link0_codec>;
|
|
simple-audio-card,frame-master = <&link0_codec>;
|
|
|
|
simple-audio-card,cpu {
|
|
sound-dai = <&i2s0 0>;
|
|
system-clock-frequency = <19200000>;
|
|
};
|
|
|
|
link0_codec: simple-audio-card,codec {
|
|
sound-dai = <&max98090>;
|
|
clocks = <&i2s0 CLK_I2S_CDCLK>;
|
|
};
|
|
};
|
|
|
|
mmc@12550000 {
|
|
pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
|
|
pinctrl-names = "default";
|
|
vmmc-supply = <&ldo20_reg &buck8_reg>;
|
|
status = "okay";
|
|
|
|
num-slots = <1>;
|
|
broken-cd;
|
|
card-detect-delay = <200>;
|
|
samsung,dw-mshc-ciu-div = <3>;
|
|
samsung,dw-mshc-sdr-timing = <2 3>;
|
|
samsung,dw-mshc-ddr-timing = <1 2>;
|
|
bus-width = <8>;
|
|
cap-mmc-highspeed;
|
|
};
|
|
|
|
watchdog@10060000 {
|
|
status = "okay";
|
|
};
|
|
|
|
rtc@10070000 {
|
|
status = "okay";
|
|
};
|
|
|
|
g2d@10800000 {
|
|
status = "okay";
|
|
};
|
|
|
|
camera {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <>;
|
|
|
|
fimc_0: fimc@11800000 {
|
|
status = "okay";
|
|
assigned-clocks = <&clock CLK_MOUT_FIMC0>,
|
|
<&clock CLK_SCLK_FIMC0>;
|
|
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
|
|
assigned-clock-rates = <0>, <176000000>;
|
|
};
|
|
|
|
fimc_1: fimc@11810000 {
|
|
status = "okay";
|
|
assigned-clocks = <&clock CLK_MOUT_FIMC1>,
|
|
<&clock CLK_SCLK_FIMC1>;
|
|
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
|
|
assigned-clock-rates = <0>, <176000000>;
|
|
};
|
|
|
|
fimc_2: fimc@11820000 {
|
|
status = "okay";
|
|
assigned-clocks = <&clock CLK_MOUT_FIMC2>,
|
|
<&clock CLK_SCLK_FIMC2>;
|
|
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
|
|
assigned-clock-rates = <0>, <176000000>;
|
|
};
|
|
|
|
fimc_3: fimc@11830000 {
|
|
status = "okay";
|
|
assigned-clocks = <&clock CLK_MOUT_FIMC3>,
|
|
<&clock CLK_SCLK_FIMC3>;
|
|
assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
|
|
assigned-clock-rates = <0>, <176000000>;
|
|
};
|
|
};
|
|
|
|
sdhci@12530000 {
|
|
bus-width = <4>;
|
|
pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
|
|
pinctrl-names = "default";
|
|
vmmc-supply = <&ldo4_reg &ldo21_reg>;
|
|
cd-gpios = <&gpk2 2 0>;
|
|
cd-inverted;
|
|
status = "okay";
|
|
};
|
|
|
|
serial@13800000 {
|
|
status = "okay";
|
|
};
|
|
|
|
serial@13810000 {
|
|
status = "okay";
|
|
};
|
|
|
|
fixed-rate-clocks {
|
|
xxti {
|
|
compatible = "samsung,clock-xxti";
|
|
clock-frequency = <0>;
|
|
};
|
|
|
|
xusbxti {
|
|
compatible = "samsung,clock-xusbxti";
|
|
clock-frequency = <24000000>;
|
|
};
|
|
};
|
|
|
|
i2c@13860000 {
|
|
pinctrl-0 = <&i2c0_bus>;
|
|
pinctrl-names = "default";
|
|
samsung,i2c-sda-delay = <100>;
|
|
samsung,i2c-max-bus-freq = <400000>;
|
|
status = "okay";
|
|
|
|
usb3503: usb3503@08 {
|
|
compatible = "smsc,usb3503";
|
|
reg = <0x08>;
|
|
|
|
intn-gpios = <&gpx3 0 0>;
|
|
connect-gpios = <&gpx3 4 0>;
|
|
reset-gpios = <&gpx3 5 0>;
|
|
initial-mode = <1>;
|
|
};
|
|
|
|
max77686: pmic@09 {
|
|
compatible = "maxim,max77686";
|
|
interrupt-parent = <&gpx3>;
|
|
interrupts = <2 0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&max77686_irq>;
|
|
reg = <0x09>;
|
|
#clock-cells = <1>;
|
|
|
|
voltage-regulators {
|
|
ldo1_reg: LDO1 {
|
|
regulator-name = "VDD_ALIVE_1.0V";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo2_reg: LDO2 {
|
|
regulator-name = "VDDQ_M1_2_1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo3_reg: LDO3 {
|
|
regulator-name = "VDDQ_EXT_1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo4_reg: LDO4 {
|
|
regulator-name = "VDDQ_MMC2_2.8V";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo5_reg: LDO5 {
|
|
regulator-name = "VDDQ_MMC1_3_1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo6_reg: LDO6 {
|
|
regulator-name = "VDD10_MPLL_1.0V";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo7_reg: LDO7 {
|
|
regulator-name = "VDD10_XPLL_1.0V";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo11_reg: LDO11 {
|
|
regulator-name = "VDD18_ABB1_1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo12_reg: LDO12 {
|
|
regulator-name = "VDD33_USB_3.3V";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo13_reg: LDO13 {
|
|
regulator-name = "VDDQ_C2C_W_1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo14_reg: LDO14 {
|
|
regulator-name = "VDD18_ABB0_2_1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo15_reg: LDO15 {
|
|
regulator-name = "VDD10_HSIC_1.0V";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo16_reg: LDO16 {
|
|
regulator-name = "VDD18_HSIC_1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo20_reg: LDO20 {
|
|
regulator-name = "LDO20_1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo21_reg: LDO21 {
|
|
regulator-name = "LDO21_3.3V";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo25_reg: LDO25 {
|
|
regulator-name = "VDDQ_LCD_1.8V";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
buck1_reg: BUCK1 {
|
|
regulator-name = "vdd_mif";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
buck2_reg: BUCK2 {
|
|
regulator-name = "vdd_arm";
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
buck3_reg: BUCK3 {
|
|
regulator-name = "vdd_int";
|
|
regulator-min-microvolt = <1000000>;
|
|
regulator-max-microvolt = <1000000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
buck4_reg: BUCK4 {
|
|
regulator-name = "vdd_g3d";
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <1100000>;
|
|
regulator-microvolt-offset = <50000>;
|
|
};
|
|
|
|
buck5_reg: BUCK5 {
|
|
regulator-name = "VDDQ_CKEM1_2_1.2V";
|
|
regulator-min-microvolt = <1200000>;
|
|
regulator-max-microvolt = <1200000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
buck6_reg: BUCK6 {
|
|
regulator-name = "BUCK6_1.35V";
|
|
regulator-min-microvolt = <1350000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
buck7_reg: BUCK7 {
|
|
regulator-name = "BUCK7_2.0V";
|
|
regulator-min-microvolt = <2000000>;
|
|
regulator-max-microvolt = <2000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
buck8_reg: BUCK8 {
|
|
regulator-name = "BUCK8_2.8V";
|
|
regulator-min-microvolt = <2800000>;
|
|
regulator-max-microvolt = <2800000>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
i2c@13870000 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&i2c1_bus>;
|
|
status = "okay";
|
|
max98090: max98090@10 {
|
|
compatible = "maxim,max98090";
|
|
reg = <0x10>;
|
|
interrupt-parent = <&gpx0>;
|
|
interrupts = <0 0>;
|
|
clocks = <&i2s0 CLK_I2S_CDCLK>;
|
|
clock-names = "mclk";
|
|
#sound-dai-cells = <0>;
|
|
};
|
|
};
|
|
|
|
exynos-usbphy@125B0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
hsotg@12480000 {
|
|
dr_mode = "peripheral";
|
|
status = "okay";
|
|
vusb_d-supply = <&ldo15_reg>;
|
|
vusb_a-supply = <&ldo12_reg>;
|
|
};
|
|
|
|
ehci: ehci@12580000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&pinctrl_1 {
|
|
gpio_power_key: power_key {
|
|
samsung,pins = "gpx1-3";
|
|
samsung,pin-pud = <0>;
|
|
};
|
|
|
|
max77686_irq: max77686-irq {
|
|
samsung,pins = "gpx3-2";
|
|
samsung,pin-function = <0>;
|
|
samsung,pin-pud = <0>;
|
|
samsung,pin-drv = <0>;
|
|
};
|
|
};
|