From 57bcc7fd3720fcdbe258761bef5d3f6e5eaab04f Mon Sep 17 00:00:00 2001 From: Chirag Parekh Date: Tue, 27 Dec 2016 22:07:58 +0530 Subject: arm: zynq: Add SCL & SDA GPIO entries for recovery Wire i2c pinmuxing gpio recovery for zc702. Signed-off-by: Chirag Parekh Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'arch/arm/dts/zynq-zc702.dts') diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts index 2696e70a89..7b0c23fa5d 100644 --- a/arch/arm/dts/zynq-zc702.dts +++ b/arch/arm/dts/zynq-zc702.dts @@ -107,8 +107,11 @@ &i2c0 { status = "okay"; clock-frequency = <400000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c0_default>; + pinctrl-1 = <&pinctrl_i2c0_gpio>; + scl-gpios = <&gpio0 50 0>; + sda-gpios = <&gpio0 51 0>; i2cswitch@74 { compatible = "nxp,pca9548"; @@ -299,6 +302,19 @@ }; }; + pinctrl_i2c0_gpio: i2c0-gpio { + mux { + groups = "gpio0_50_grp", "gpio0_51_grp"; + function = "gpio0"; + }; + + conf { + groups = "gpio0_50_grp", "gpio0_51_grp"; + slew-rate = <0>; + io-standard = <1>; + }; + }; + pinctrl_sdhci0_default: sdhci0-default { mux { groups = "sdio0_2_grp"; -- cgit From 5fad1ab3d0be9504a9c176f279809bae00990bed Mon Sep 17 00:00:00 2001 From: Sai Pavan Boddu Date: Mon, 6 Mar 2017 18:17:19 +0530 Subject: arm: zynq: Add device-type property for zynq ethernet phy nodes Mention device-type = "ethernet-phy", as qemu will need this in absence of compatible. Signed-off-by: Sai Pavan Boddu Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/dts/zynq-zc702.dts') diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts index 7b0c23fa5d..da698a19cc 100644 --- a/arch/arm/dts/zynq-zc702.dts +++ b/arch/arm/dts/zynq-zc702.dts @@ -96,6 +96,7 @@ ethernet_phy: ethernet-phy@7 { reg = <7>; + device_type = "ethernet-phy"; }; }; -- cgit