diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2015-02-10 10:58:55 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-03-05 08:52:55 +0100 |
commit | 91acad857d990f94f355a29f3d3a597a01b1da34 (patch) | |
tree | d03d4ebfd3ddfc90ecb1c8aa5055757897f78773 /arch/arm/dts | |
parent | 12888ae902abf9659f80c8f0d3207e009f341dee (diff) | |
download | barebox-91acad857d990f94f355a29f3d3a597a01b1da34.tar.gz barebox-91acad857d990f94f355a29f3d3a597a01b1da34.tar.xz |
arm: hummingboard: fix fallout from upstream DT usage
This board was broken since the switch to use upstream DTs with v2014.07.
Fix it up by including the right upstream DT and delete some now
unneeded files.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/imx6dl-hummingboard.dts | 6 | ||||
-rw-r--r-- | arch/arm/dts/imx6qdl-microsom-ar8035.dtsi | 58 | ||||
-rw-r--r-- | arch/arm/dts/imx6qdl-microsom.dtsi | 16 |
3 files changed, 2 insertions, 78 deletions
diff --git a/arch/arm/dts/imx6dl-hummingboard.dts b/arch/arm/dts/imx6dl-hummingboard.dts index 4599a54905..24f6bfa817 100644 --- a/arch/arm/dts/imx6dl-hummingboard.dts +++ b/arch/arm/dts/imx6dl-hummingboard.dts @@ -4,11 +4,9 @@ * The code contained herein is licensed under the GNU General Public * License version 2. */ -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-microsom.dtsi" -#include "imx6qdl-microsom-ar8035.dtsi" +#include <arm/imx6dl-hummingboard.dts> +#include "imx6qdl.dtsi" / { chosen { diff --git a/arch/arm/dts/imx6qdl-microsom-ar8035.dtsi b/arch/arm/dts/imx6qdl-microsom-ar8035.dtsi deleted file mode 100644 index c1be487dfc..0000000000 --- a/arch/arm/dts/imx6qdl-microsom-ar8035.dtsi +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2013 Russell King - * - * The code contained herein is licensed under the GNU General Public - * License version 2. - * - * This describes the hookup for an AR8035 to the IMX6 on the Cubox-i - * MicroSOM. - * - * FIXME: we need to configure PLL_ENET to produce 25MHz, but there - * doesn't seem to be a way to do that yet from DT. (Writing 0x2000 - * to 0x020c80e0 phys will do this.) - */ -&fec { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_microsom_enet_ar8035>; - phy-mode = "rgmii"; - phy-reset-duration = <2>; - phy-reset-gpios = <&gpio4 15 0>; - status = "okay"; -}; - -&iomuxc { - enet { - pinctrl_microsom_enet_ar8035: microsom-enet-ar8035 { - fsl,pins = < - MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 - MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 - /* AR8035 reset */ - MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x130b0 - /* AR8035 interrupt */ - MX6QDL_PAD_DI0_PIN2__GPIO4_IO18 0x80000000 - /* GPIO16 -> AR8035 25MHz */ - MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0xc0000000 - MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x80000000 - MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0 - MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0 - MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0 - MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0 - MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0 - /* AR8035 CLK_25M --> ENET_REF_CLK (V22) */ - MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x0a0b1 - /* AR8035 pin strapping: IO voltage: pull up */ - MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0 - /* AR8035 pin strapping: PHYADDR#0: pull down */ - MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x130b0 - /* AR8035 pin strapping: PHYADDR#1: pull down */ - MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x130b0 - /* AR8035 pin strapping: MODE#1: pull up */ - MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0 - /* AR8035 pin strapping: MODE#3: pull up */ - MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0 - /* AR8035 pin strapping: MODE#0: pull down */ - MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x130b0 - >; - }; - }; -}; diff --git a/arch/arm/dts/imx6qdl-microsom.dtsi b/arch/arm/dts/imx6qdl-microsom.dtsi deleted file mode 100644 index 0bf618ecb8..0000000000 --- a/arch/arm/dts/imx6qdl-microsom.dtsi +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright 2013 Russell King - * - * The code contained herein is licensed under the GNU General Public - * License version 2. - */ -#include <arm/imx6qdl-microsom.dtsi> - -&usbotg { - phy_type = "utmi"; -}; - -&usbh1 { - phy_type = "utmi"; - dr_mode = "host"; -}; |