ARM: DRA72: Add support for rev C evm
Subsystems (4)
cover ARM: DRA72: Add support for rev C evm
Hi,
please find support for DRA72 rev C evm support
Test log: http://pastebin.ubuntu.com/15491059/
Based on 6f30d29c603c Add linux-next specific files for 20160324
Nishanth Menon (2):
ARM: dts: Add support for dra72-evm rev C (ES2.0)
ARM: omap2plus_defconfig: Enable DP83867 support
arch/arm/boot/dts/Makefile | 3 +-
.../dts/{dra72-evm.dts => dra72-evm-common.dtsi} | 26 +-
arch/arm/boot/dts/dra72-evm-revc.dts | 73 ++
arch/arm/boot/dts/dra72-evm.dts | 835 +--------------------
arch/arm/configs/omap2plus_defconfig | 1 +
5 files changed, 90 insertions(+), 848 deletions(-)
copy arch/arm/boot/dts/{dra72-evm.dts => dra72-evm-common.dtsi} (97%)
create mode 100644 arch/arm/boot/dts/dra72-evm-revc.dtsSignature · 1 line
2.8.0.rc3
PATCH 1/2 ARM: dts: Add support for dra72-evm rev C (ES2.0)
DRA72-EVM now has an upgrade to Rev C with ES2.0 silicon. As part of this change, a few updates were factored in that were software incompatible with previous board in few areas:
- We now use DP83867 ethernet phy instead of older DP838865 which fails in certain usecases.
- Two ethernet ports now instead of the single one in rev B.
- polarities changed for certain pcf gpios
- Due to SoC phy current requirements, VDDA supplies are split between ldo5 and ldo2 (ldo2 was previously unused). NOTE: DSS (VDDA_VIDEO) is still supplied by ldo5.
NOTE: It does not make much sense to spin off a new board compatible flag since there is no real benefit for the same.
---
arch/arm/boot/dts/Makefile | 3 +-
.../dts/{dra72-evm.dts => dra72-evm-common.dtsi} | 26 +-
arch/arm/boot/dts/dra72-evm-revc.dts | 73 ++
arch/arm/boot/dts/dra72-evm.dts | 835 +--------------------
4 files changed, 89 insertions(+), 848 deletions(-)
copy arch/arm/boot/dts/{dra72-evm.dts => dra72-evm-common.dtsi} (97%)
create mode 100644 arch/arm/boot/dts/dra72-evm-revc.dtsarch/arm/boot/dts/Makefile +2 -1
@@ -527,7 +527,8 @@ dtb-$(CONFIG_SOC_DRA7XX) += \ am57xx-cl-som-am57x.dtb \ am57xx-sbc-am57x.dtb \ dra7-evm.dtb \ - dra72-evm.dtb + dra72-evm.dtb \ + dra72-evm-revc.dtb dtb-$(CONFIG_ARCH_ORION5X) += \ orion5x-lacie-d2-network.dtb \ orion5x-lacie-ethernet-disk-mini-v2.dtb \
arch/arm/boot/dts/dra72-evm-common.dtsi renamed from arch/arm/boot/dts/dra72-evm.dts +1 -25
@@ -12,14 +12,8 @@ #include <dt-bindings/clk/ti-dra7-atl.h> / { - model = "TI DRA722"; compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; - memory { - device_type = "memory"; - reg = <0x0 0x80000000 0x0 0x40000000>; /* 1024 MB */ - }; - aliases { display0 = &hdmi0; };
@@ -320,7 +314,7 @@ tps65917_pmic { compatible = "ti,tps65917-pmic"; - regulators { + tps65917_regulators: regulators { smps1_reg: smps1 { /* VDD_MPU */ regulator-name = "smps1";
@@ -376,14 +370,6 @@ regulator-allow-bypass; }; - ldo2_reg: ldo2 { - /* LDO2_OUT --> TP1017 (UNUSED) */ - regulator-name = "ldo2"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - regulator-allow-bypass; - }; - ldo3_reg: ldo3 { /* VDDA_1V8_PHY */ regulator-name = "ldo3";
@@ -427,8 +413,6 @@ lines-initial-states = <0x1408>; gpio-controller; #gpio-cells = <2>; - interrupt-parent = <&gpio6>; - interrupts = <11 IRQ_TYPE_EDGE_FALLING>; interrupt-controller; #interrupt-cells = <2>; };
@@ -689,13 +673,6 @@ pinctrl-names = "default", "sleep"; pinctrl-0 = <&cpsw_default>; pinctrl-1 = <&cpsw_sleep>; - slaves = <1>; - mode-gpios = <&pcf_gpio_21 4 GPIO_ACTIVE_HIGH>; -}; - -&cpsw_emac0 { - phy_id = <&davinci_mdio>, <3>; - phy-mode = "rgmii"; }; &davinci_mdio {
@@ -785,7 +762,6 @@ &hdmi { status = "ok"; - vdda-supply = <&ldo3_reg>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_pins>;
arch/arm/boot/dts/dra72-evm-revc.dts new file +73 -0
73 lines not on this page · raw message
arch/arm/boot/dts/dra72-evm.dts +13 -822
865 lines not on this page · raw message
Signature · 1 line
2.8.0.rc3
Tony Lindgren
maintainerRe: [PATCH 1/2] ARM: dts: Add support for dra72-evm rev C (ES2.0)
Quoted 11 lines · Nishanth Menon
DRA72-EVM now has an upgrade to Rev C with ES2.0 silicon. As part of this change, a few updates were factored in that were software incompatible with previous board in few areas:
- We now use DP83867 ethernet phy instead of older DP838865 which fails in certain usecases.
- Two ethernet ports now instead of the single one in rev B.
- polarities changed for certain pcf gpios
- Due to SoC phy current requirements, VDDA supplies are split between ldo5 and ldo2 (ldo2 was previously unused). NOTE: DSS (VDDA_VIDEO) is still supplied by ldo5.
Quoted 2 lines
NOTE: It does not make much sense to spin off a new board compatible flag since there is no real benefit for the same.
I guess that can always be added later on if needed.
Can you please repost this against current omap-for-v4.7/dt as it no longer applies?
Thanks,
Tony
Re: [PATCH 1/2] ARM: dts: Add support for dra72-evm rev C (ES2.0)
Quoted 12 lines · Tony Lindgren
Quoted 11 lines · Nishanth Menon
DRA72-EVM now has an upgrade to Rev C with ES2.0 silicon. As part of this change, a few updates were factored in that were software incompatible with previous board in few areas:
- We now use DP83867 ethernet phy instead of older DP838865 which fails in certain usecases.
- Two ethernet ports now instead of the single one in rev B.
- polarities changed for certain pcf gpios
- Due to SoC phy current requirements, VDDA supplies are split between ldo5 and ldo2 (ldo2 was previously unused). NOTE: DSS (VDDA_VIDEO) is still supplied by ldo5.
Quoted 7 lines
Quoted 2 lines
NOTE: It does not make much sense to spin off a new board compatible flag since there is no real benefit for the same.
I guess that can always be added later on if needed.
Can you please repost this against current omap-for-v4.7/dt as it no longer applies?
Will do. thanks.
Signature · 2 lines
Regards, Nishanth Menon
PATCH 2/2 ARM: omap2plus_defconfig: Enable DP83867 support
In reply to Nishanth MenonEnable DP83867 Ethernet phy for supporting networking on DRA72-EVM rev C (SR2.0).
--- arch/arm/configs/omap2plus_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/omap2plus_defconfig +1 -0
@@ -178,6 +178,7 @@ CONFIG_TI_CPTS=y # CONFIG_NET_VENDOR_WIZNET is not set CONFIG_AT803X_PHY=y CONFIG_SMSC_PHY=y +CONFIG_DP83867_PHY=y CONFIG_USB_USBNET=m CONFIG_USB_NET_SMSC75XX=m CONFIG_USB_NET_SMSC95XX=m
Signature · 1 line
2.8.0.rc3
Tony Lindgren
maintainerRe: [PATCH 2/2] ARM: omap2plus_defconfig: Enable DP83867 support
Quoted 2 lines · Nishanth Menon
Enable DP83867 Ethernet phy for supporting networking on DRA72-EVM rev C (SR2.0).
Applying into omap-for-v4.7/defconfig thanks.
Tony