mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 20:14:25 +08:00
7a38003b69
changes add earlycon stdout-path propety for the SoCs so far tested with it. The other changes are addition of BeagleBone green and making WLAN work on BeagleBone black wireless and green wireless. The rest of the changes are the usual enabling features on various devices: - Enable devices on am335x-sl50 - Changes to dra7-evm boards to enable enable irqs for dp83867 eth phys, add pinmux configuration for mmc, remov erratum i869 pinmux configurations, disable NAND support because of pin conflict, add pcf8575 used for lcd - Remove NAND partition table for omap3-igep - Configure USB Ethernet MAC from device tree for beagleboard xm, pandaboard, omap5-uevm and igepv5 - Configure am335x-chilisom to wake from RTC-only state - Update Nanobone for external FRAM chip - Clean up n900 dts - Update am335x-phycore and am335x-wega for various devices - Changes for am57xx-beagle-x15 to implement rgmii2 errata -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEEkgNvrZJU/QSQYIcQG9Q+yVyrpXMFAliHfDQRHHRvbnlAYXRv bWlkZS5jb20ACgkQG9Q+yVyrpXPCJBAAyuB6b3ebspjJXNgJetboPsfms81pqSCr 5ZcYLRsOkPc0858Q/vhXqkWdsfeZ62hIu/8DKj98dpjL/0w0hvzqK2eUpdrcmf74 AUf1lXkhj9lIX3K3g/3oQNgfhhpFpYduepzuBtaWio5KE0nTH0NcPEBa8YsKXTAZ geCP6eB1aTjhBBxzvI2UNmbzoJmhBUf6ccGv7uNWhF2yRh52e6uyUMD48Z2+ti7A N40k9+n2vbp8M1nijszUU0GzsvIKKNaA2tH+c1V57IW7KUPQJ2XXE6aTycrqrg7W aDz5jjwZOppud2o5TihMPzKsJzj9KFbk8VeRSV57N7dBjstHvWBHh67OCpKVL9rb 8lDYu+ndkHDBSHjBfz32tRWceIjpc8n/dDn3IAZSL88Xd2/3Juw0XsJDeVuMu0Xr zNBcdIA9ph8rPMO2y9oPGhEo136NveuvnblazNBzsFzgRu9O9sBKDLnfEx1tRGCo cwqQf6H5slw4JwoiEFUBc3eERiImT1l7A5qFtrjQGQ9JGn6gN3bHEUM2uaC9KH1D HG4kru5QLMnvxWxDC6+vw9mosqlDvzalpz71gdAeGJgS2iaswuCvy0ITTKlxXzLP Fl6+Dm7aaTakc2cD0acMG+apyXQOmIOiJ7gKQ8R7VNVMQyS7JfjJWWUTy3hr9sN1 VYYccZ5tO1M= =URbm -----END PGP SIGNATURE----- Merge tag 'omap-for-v4.11/dt-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/dt Device tree changes for omaps for v4.11 merge window. These changes add earlycon stdout-path propety for the SoCs so far tested with it. The other changes are addition of BeagleBone green and making WLAN work on BeagleBone black wireless and green wireless. The rest of the changes are the usual enabling features on various devices: - Enable devices on am335x-sl50 - Changes to dra7-evm boards to enable enable irqs for dp83867 eth phys, add pinmux configuration for mmc, remov erratum i869 pinmux configurations, disable NAND support because of pin conflict, add pcf8575 used for lcd - Remove NAND partition table for omap3-igep - Configure USB Ethernet MAC from device tree for beagleboard xm, pandaboard, omap5-uevm and igepv5 - Configure am335x-chilisom to wake from RTC-only state - Update Nanobone for external FRAM chip - Clean up n900 dts - Update am335x-phycore and am335x-wega for various devices - Changes for am57xx-beagle-x15 to implement rgmii2 errata * tag 'omap-for-v4.11/dt-signed-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (35 commits) ARM: dts: dra72/1-evm: add pcf8575 used for lcd ARM: dts: dra7xx: Add stdout-path property ARM: dts: am57xx: Add stdout-path property ARM: dts: am43xx: Add stdout-path property ARM: dts: am33xx: Add stdout-path property ARM: dts: am335x-sl50: Enable the Ambient Light Sensor. ARM: dts: am335x-sl50: Enable the MCP23017 GPIO Expander. ARM: dts: am335x-sl50: Enable BQ32000 Real Time Clock. ARM: dts: am335x-sl50: Enable SPI0 interface and Flash Memory. ARM: dts: am335x-sl50: Enable UART1. ARM: dts: am335x-sl50: Remove I2C1 node. ARM: dts: omap3-igep: Remove NAND partition table ARM: dts: am57xx-beagle-x15: implement errata "Ethernet RGMII2 Limited to 10/100 Mbps" ARM: dts: am335x-phycore-som: Remove partition tables ARM: dts: dra72-evm-revc: enable irqs for dp83867 eth phys ARM: dts: Configure BeagleBone peripheral USB VBUS irq ARM: dts: omap5-igep0050: Allow bootloader to configure USB Ethernet MAC ARM: dts: omap5-uevm: Allow bootloader to configure USB Ethernet MAC ARM: dts: pandaboard: Allow bootloader to configure USB Ethernet MAC ARM: omap3: beagleboard-xm: dt: Add ethernet to the device tree ... Signed-off-by: Olof Johansson <olof@lixom.net>
442 lines
9.1 KiB
Plaintext
442 lines
9.1 KiB
Plaintext
/*
|
|
* Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.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.
|
|
*/
|
|
|
|
#include "am57xx-industrial-grade.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
rtc0 = &tps659038_rtc;
|
|
rtc1 = &rtc;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = &uart3;
|
|
};
|
|
|
|
vmain: fixedregulator-vmain {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "VMAIN";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
v3_3d: fixedregulator-v3_3d {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "V3_3D";
|
|
vin-supply = <&smps9_reg>;
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
vtt_fixed: fixedregulator-vtt {
|
|
/* TPS51200 */
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vtt_fixed";
|
|
vin-supply = <&v3_3d>;
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
leds-iio {
|
|
status = "disabled";
|
|
compatible = "gpio-leds";
|
|
led-out0 {
|
|
label = "out0";
|
|
gpios = <&tpic2810 0 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
|
|
led-out1 {
|
|
label = "out1";
|
|
gpios = <&tpic2810 1 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
|
|
led-out2 {
|
|
label = "out2";
|
|
gpios = <&tpic2810 2 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
|
|
led-out3 {
|
|
label = "out3";
|
|
gpios = <&tpic2810 3 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
|
|
led-out4 {
|
|
label = "out4";
|
|
gpios = <&tpic2810 4 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
|
|
led-out5 {
|
|
label = "out5";
|
|
gpios = <&tpic2810 5 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
|
|
led-out6 {
|
|
label = "out6";
|
|
gpios = <&tpic2810 6 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
|
|
led-out7 {
|
|
label = "out7";
|
|
gpios = <&tpic2810 7 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2c1 {
|
|
status = "okay";
|
|
clock-frequency = <400000>;
|
|
|
|
tps659038: tps659038@58 {
|
|
compatible = "ti,tps659038";
|
|
reg = <0x58>;
|
|
interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH
|
|
&dra7_pmx_core 0x418>;
|
|
#interrupt-cells = <2>;
|
|
interrupt-controller;
|
|
ti,system-power-controller;
|
|
ti,palmas-override-powerhold;
|
|
|
|
tps659038_pmic {
|
|
compatible = "ti,tps659038-pmic";
|
|
|
|
smps12-in-supply = <&vmain>;
|
|
smps3-in-supply = <&vmain>;
|
|
smps45-in-supply = <&vmain>;
|
|
smps6-in-supply = <&vmain>;
|
|
smps7-in-supply = <&vmain>;
|
|
smps8-in-supply = <&vmain>;
|
|
smps9-in-supply = <&vmain>;
|
|
ldo1-in-supply = <&vmain>;
|
|
ldo2-in-supply = <&vmain>;
|
|
ldo3-in-supply = <&vmain>;
|
|
ldo4-in-supply = <&vmain>;
|
|
ldo9-in-supply = <&vmain>;
|
|
ldoln-in-supply = <&vmain>;
|
|
ldousb-in-supply = <&vmain>;
|
|
ldortc-in-supply = <&vmain>;
|
|
|
|
regulators {
|
|
smps12_reg: smps12 {
|
|
/* VDD_MPU */
|
|
regulator-name = "smps12";
|
|
regulator-min-microvolt = <850000>;
|
|
regulator-max-microvolt = <1250000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
smps3_reg: smps3 {
|
|
/* VDD_DDR EMIF1 EMIF2 */
|
|
regulator-name = "smps3";
|
|
regulator-min-microvolt = <1350000>;
|
|
regulator-max-microvolt = <1350000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
smps45_reg: smps45 {
|
|
/* VDD_DSPEVE on AM572 */
|
|
/* VDD_IVA + VDD_DSP on AM571 */
|
|
regulator-name = "smps45";
|
|
regulator-min-microvolt = <850000>;
|
|
regulator-max-microvolt = <1250000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
smps6_reg: smps6 {
|
|
/* VDD_GPU */
|
|
regulator-name = "smps6";
|
|
regulator-min-microvolt = <850000>;
|
|
regulator-max-microvolt = <1250000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
smps7_reg: smps7 {
|
|
/* VDD_CORE */
|
|
regulator-name = "smps7";
|
|
regulator-min-microvolt = <850000>;
|
|
regulator-max-microvolt = <1150000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
smps8_reg: smps8 {
|
|
/* 5728 - VDD_IVAHD */
|
|
/* 5718 - N.C. test point */
|
|
regulator-name = "smps8";
|
|
};
|
|
|
|
smps9_reg: smps9 {
|
|
/* VDD_3_3D */
|
|
regulator-name = "smps9";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo1_reg: ldo1 {
|
|
/* VDDSHV8 - VSDMMC */
|
|
/* NOTE: on rev 1.3a, data supply */
|
|
regulator-name = "ldo1";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
ldo2_reg: ldo2 {
|
|
/* VDDSH18V */
|
|
regulator-name = "ldo2";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo3_reg: ldo3 {
|
|
/* R1.3a 572x V1_8PHY_LDO3: USB, SATA */
|
|
regulator-name = "ldo3";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldo4_reg: ldo4 {
|
|
/* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/
|
|
regulator-name = "ldo4";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
/* LDO5-8 unused */
|
|
|
|
ldo9_reg: ldo9 {
|
|
/* VDD_RTC */
|
|
regulator-name = "ldo9";
|
|
regulator-min-microvolt = <840000>;
|
|
regulator-max-microvolt = <1160000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldoln_reg: ldoln {
|
|
/* VDDA_1V8_PLL */
|
|
regulator-name = "ldoln";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldousb_reg: ldousb {
|
|
/* VDDA_3V_USB: VDDA_USBHS33 */
|
|
regulator-name = "ldousb";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
ldortc_reg: ldortc {
|
|
/* VDDA_RTC */
|
|
regulator-name = "ldortc";
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
|
|
regen1: regen1 {
|
|
/* VDD_3V3_ON */
|
|
regulator-name = "regen1";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
|
|
regen2: regen2 {
|
|
/* Needed for PMIC internal resource */
|
|
regulator-name = "regen2";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
};
|
|
};
|
|
};
|
|
|
|
tps659038_rtc: tps659038_rtc {
|
|
compatible = "ti,palmas-rtc";
|
|
interrupt-parent = <&tps659038>;
|
|
interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
|
|
wakeup-source;
|
|
};
|
|
|
|
tps659038_pwr_button: tps659038_pwr_button {
|
|
compatible = "ti,palmas-pwrbutton";
|
|
interrupt-parent = <&tps659038>;
|
|
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
|
|
wakeup-source;
|
|
ti,palmas-long-press-seconds = <12>;
|
|
};
|
|
|
|
tps659038_gpio: tps659038_gpio {
|
|
compatible = "ti,palmas-gpio";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|
|
|
|
extcon_usb2: tps659038_usb {
|
|
compatible = "ti,palmas-usb-vid";
|
|
ti,enable-vbus-detection;
|
|
ti,enable-id-detection;
|
|
/* ID & VBUS GPIOs provided in board dts */
|
|
};
|
|
};
|
|
};
|
|
|
|
&mcspi3 {
|
|
status = "okay";
|
|
ti,pindir-d0-out-d1-in;
|
|
|
|
sn65hvs882: sn65hvs882@0 {
|
|
compatible = "pisosr-gpio";
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
|
|
reg = <0>;
|
|
spi-max-frequency = <1000000>;
|
|
spi-cpol;
|
|
};
|
|
|
|
tpic2810: tpic2810@60 {
|
|
compatible = "ti,tpic2810";
|
|
reg = <0x60>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|
|
};
|
|
|
|
&uart3 {
|
|
status = "okay";
|
|
interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH
|
|
&dra7_pmx_core 0x248>;
|
|
};
|
|
|
|
&rtc {
|
|
status = "okay";
|
|
ext-clk-src;
|
|
};
|
|
|
|
&mac {
|
|
status = "okay";
|
|
dual_emac;
|
|
};
|
|
|
|
&cpsw_emac0 {
|
|
phy_id = <&davinci_mdio>, <0>;
|
|
phy-mode = "rgmii";
|
|
dual_emac_res_vlan = <1>;
|
|
};
|
|
|
|
&cpsw_emac1 {
|
|
phy_id = <&davinci_mdio>, <1>;
|
|
phy-mode = "rgmii";
|
|
dual_emac_res_vlan = <2>;
|
|
};
|
|
|
|
&usb2_phy1 {
|
|
phy-supply = <&ldousb_reg>;
|
|
};
|
|
|
|
&usb2_phy2 {
|
|
phy-supply = <&ldousb_reg>;
|
|
};
|
|
|
|
&usb1 {
|
|
dr_mode = "host";
|
|
};
|
|
|
|
&usb2 {
|
|
dr_mode = "peripheral";
|
|
};
|
|
|
|
&mmc2 {
|
|
status = "okay";
|
|
vmmc-supply = <&v3_3d>;
|
|
bus-width = <8>;
|
|
ti,non-removable;
|
|
max-frequency = <96000000>;
|
|
};
|
|
|
|
&qspi {
|
|
status = "okay";
|
|
|
|
spi-max-frequency = <76800000>;
|
|
m25p80@0 {
|
|
compatible = "s25fl256s1", "jedec,spi-nor";
|
|
spi-max-frequency = <76800000>;
|
|
reg = <0>;
|
|
spi-tx-bus-width = <1>;
|
|
spi-rx-bus-width = <4>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
/* MTD partition table.
|
|
* The ROM checks the first four physical blocks
|
|
* for a valid file to boot and the flash here is
|
|
* 64KiB block size.
|
|
*/
|
|
partition@0 {
|
|
label = "QSPI.SPL";
|
|
reg = <0x00000000 0x000040000>;
|
|
};
|
|
partition@1 {
|
|
label = "QSPI.u-boot";
|
|
reg = <0x00040000 0x00100000>;
|
|
};
|
|
partition@2 {
|
|
label = "QSPI.u-boot-spl-os";
|
|
reg = <0x00140000 0x00080000>;
|
|
};
|
|
partition@3 {
|
|
label = "QSPI.u-boot-env";
|
|
reg = <0x001c0000 0x00010000>;
|
|
};
|
|
partition@4 {
|
|
label = "QSPI.u-boot-env.backup1";
|
|
reg = <0x001d0000 0x0010000>;
|
|
};
|
|
partition@5 {
|
|
label = "QSPI.kernel";
|
|
reg = <0x001e0000 0x0800000>;
|
|
};
|
|
partition@6 {
|
|
label = "QSPI.file-system";
|
|
reg = <0x009e0000 0x01620000>;
|
|
};
|
|
};
|
|
};
|