diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-11 11:53:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-09-23 08:40:32 +0200 |
commit | 9fc58d665eeb8a25b2f4ae43740be4e758db01be (patch) | |
tree | 270abf83396d635d1a09d74269328e330bace7b8 /arch/arm/dts/socfpga_cyclone5_socrates.dts | |
parent | e07ddb8b97b07160376245d6b45c776bafe5b286 (diff) | |
download | barebox-9fc58d665eeb8a25b2f4ae43740be4e758db01be.tar.gz barebox-9fc58d665eeb8a25b2f4ae43740be4e758db01be.tar.xz |
ARM: SoCFPGA: Add EBV SoCrates board support
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 | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts new file mode 100644 index 0000000000..7fa5e63076 --- /dev/null +++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts @@ -0,0 +1,64 @@ +/* + * Copyright (C) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +/include/ "socfpga_cyclone5.dtsi" + +/ { + model = "EBV SoCrates"; + compatible = "ebv,socrates", "altr,socfpga"; + + chosen { + }; + + memory { + name = "memory"; + device_type = "memory"; + reg = <0x0 0x0>; + }; + + leds: gpio-leds { + }; +}; + +&leds { + compatible = "gpio-leds"; + + led@0 { + label = "0"; + gpios = <&gpio0 28 1>; + linux,default-trigger = "heartbeat"; + }; + + led@1 { + label = "1"; + gpios = <&gpio1 19 1>; + }; + + led@2 { + label = "2"; + gpios = <&gpio1 25 1>; + }; +}; + +&gmac1 { + phy-mode = "rgmii"; + status = "okay"; +}; + +&mmc { + status = "okay"; +}; |