diff options
author | Narayan Reddy <narayanr@nvidia.com> | 2016-08-18 13:24:19 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-08-30 11:03:48 -0400 |
commit | 56918e30d865d66339955a03a25f0129c96bf1ef (patch) | |
tree | c2c764cac34b461ac2fd4dd057138f4d7929f91e /arch | |
parent | 104f187e2567de4ddb281e93278b381856ac8141 (diff) |
net: eqos: tristate tx signal when cable removed
added logic to make sure that tx signal is tristated
when cable is not attached
Bug 1800827
Change-Id: I611eb859a1ca88cad776ef5ad0cfad231528eb38
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/1204563
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-eqos.dtsi | 4 | ||||
-rw-r--r-- | arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-prod.dtsi | 27 |
2 files changed, 30 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-eqos.dtsi b/arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-eqos.dtsi index d15036182..774dabb5c 100644 --- a/arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-eqos.dtsi +++ b/arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-eqos.dtsi | |||
@@ -37,7 +37,9 @@ | |||
37 | / { | 37 | / { |
38 | ether_qos@2490000 { | 38 | ether_qos@2490000 { |
39 | compatible = "nvidia,eqos"; | 39 | compatible = "nvidia,eqos"; |
40 | reg = <0x0 0x02490000 0x0 0x10000>; | 40 | reg = <0x0 0x02490000 0x0 0x10000 /* EQOS Base Register */ |
41 | 0x0 0x02439000 0x0 0x00000074>; /* PADS registers */ | ||
42 | reg-names = "eqos_base", "eqos_pads"; | ||
41 | interrupts = <0 194 0x4>, /* common */ | 43 | interrupts = <0 194 0x4>, /* common */ |
42 | <0 195 0x4>, /* power */ | 44 | <0 195 0x4>, /* power */ |
43 | <0 190 0x4>, /* rx0 */ | 45 | <0 190 0x4>, /* rx0 */ |
diff --git a/arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-prod.dtsi b/arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-prod.dtsi index 56cfe3f75..cc1ef2edc 100644 --- a/arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-prod.dtsi +++ b/arch/arm64/boot/dts/nvidia/t18x/tegra186-soc/tegra186-soc-prod.dtsi | |||
@@ -35,6 +35,33 @@ | |||
35 | }; | 35 | }; |
36 | }; | 36 | }; |
37 | 37 | ||
38 | ether_qos@2490000 { | ||
39 | prod-settings { | ||
40 | #prod-cells = <3>; | ||
41 | mask-one-style; | ||
42 | tx_tristate_enable { | ||
43 | prod = < | ||
44 | 0x00000018 0x00000050 0x00000010 // PADCTL_SDMMC2_HV_EQOS_TD0_0 | ||
45 | 0x00000010 0x00000050 0x00000010 // PADCTL_SDMMC2_HV_EQOS_TD1_0 | ||
46 | 0x00000008 0x00000050 0x00000010 // PADCTL_SDMMC2_HV_EQOS_TD2_0 | ||
47 | 0x00000000 0x00000050 0x00000010 // PADCTL_SDMMC2_HV_EQOS_TD3_0 | ||
48 | 0x00000054 0x00000050 0x00000010 // PADCTL_SDMMC2_HV_EQOS_TXC_0 | ||
49 | 0x00000064 0x00000050 0x00000010 // PADCTL_SDMMC2_HV_EQOS_TX_CTL_0 | ||
50 | >; | ||
51 | }; | ||
52 | tx_tristate_disable { | ||
53 | prod = < | ||
54 | 0x00000018 0x00000050 0x00000000 // PADCTL_SDMMC2_HV_EQOS_TD0_0 | ||
55 | 0x00000010 0x00000050 0x00000000 // PADCTL_SDMMC2_HV_EQOS_TD1_0 | ||
56 | 0x00000008 0x00000050 0x00000000 // PADCTL_SDMMC2_HV_EQOS_TD2_0 | ||
57 | 0x00000000 0x00000050 0x00000000 // PADCTL_SDMMC2_HV_EQOS_TD3_0 | ||
58 | 0x00000054 0x00000050 0x00000000 // PADCTL_SDMMC2_HV_EQOS_TXC_0 | ||
59 | 0x00000064 0x00000050 0x00000000 // PADCTL_SDMMC2_HV_EQOS_TX_CTL_0 | ||
60 | >; | ||
61 | }; | ||
62 | }; | ||
63 | }; | ||
64 | |||
38 | sdhci@3460000 { | 65 | sdhci@3460000 { |
39 | prod-settings { | 66 | prod-settings { |
40 | #prod-cells = <3>; | 67 | #prod-cells = <3>; |