diff options
author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2015-08-14 10:36:42 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-08-19 15:56:29 +0200 |
commit | 8c2f1929c71bb590dcc3d1ec970f5f7958afd7aa (patch) | |
tree | 3184673f3ce1d4ede9a2a7d8115e62690928bbdd /arch/arm/dts/socfpga_cyclone5_socrates.dts | |
parent | 3086fd8bb43ae6350d057e8a1534cfcc2f7f7558 (diff) | |
download | barebox-8c2f1929c71bb590dcc3d1ec970f5f7958afd7aa.tar.gz barebox-8c2f1929c71bb590dcc3d1ec970f5f7958afd7aa.tar.xz |
ARM: dts: remove most of socfpga barebox-specific dt code
Instead of using internal devicetree files, use the official ones from
/dts/src/arm.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/socfpga_cyclone5_socrates.dts')
-rw-r--r-- | arch/arm/dts/socfpga_cyclone5_socrates.dts | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts index 125ad1b850..29b41f1043 100644 --- a/arch/arm/dts/socfpga_cyclone5_socrates.dts +++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts @@ -15,23 +15,23 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/include/ "socfpga_cyclone5.dtsi" +#include <arm/socfpga_cyclone5_socrates.dts> +#include "socfpga.dtsi" / { model = "EBV SoCrates"; compatible = "ebv,socrates", "altr,socfpga"; - chosen { + leds: gpio-leds { }; +}; - memory { - name = "memory"; - device_type = "memory"; - reg = <0x0 0x0>; - }; +&gpio0 { + status = "okay"; +}; - leds: gpio-leds { - }; +&gpio1 { + status = "okay"; }; &leds { @@ -39,30 +39,21 @@ led@0 { label = "0"; - gpios = <&gpio0 28 1>; + gpios = <&porta 28 1>; linux,default-trigger = "heartbeat"; }; led@1 { label = "1"; - gpios = <&gpio1 19 1>; + gpios = <&portb 19 1>; }; led@2 { label = "2"; - gpios = <&gpio1 25 1>; + gpios = <&portb 25 1>; }; }; -&gmac1 { - phy-mode = "rgmii"; - status = "okay"; -}; - -&mmc { - status = "okay"; -}; - &qspi { status = "okay"; |