diff options
Diffstat (limited to 'arch/arm/dts/socfpga_cyclone5_sockit.dts')
-rw-r--r-- | arch/arm/dts/socfpga_cyclone5_sockit.dts | 45 |
1 files changed, 18 insertions, 27 deletions
diff --git a/arch/arm/dts/socfpga_cyclone5_sockit.dts b/arch/arm/dts/socfpga_cyclone5_sockit.dts index 1c3fb4d39c..8b37574e5d 100644 --- a/arch/arm/dts/socfpga_cyclone5_sockit.dts +++ b/arch/arm/dts/socfpga_cyclone5_sockit.dts @@ -15,21 +15,13 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/include/ "socfpga_cyclone5.dtsi" +#include <arm/socfpga_cyclone5_sockit.dts> +#include "socfpga.dtsi" / { model = "Terasic SoCkit"; compatible = "terasic,sockit", "altr,socfpga"; - chosen { - }; - - memory { - name = "memory"; - device_type = "memory"; - reg = <0x0 0x0>; - }; - leds: gpio-leds { }; @@ -37,28 +29,36 @@ }; }; +&gpio1 { + status = "okay"; +}; + +&gpio2 { + status = "okay"; +}; + &leds { compatible = "gpio-leds"; led@0 { label = "0"; - gpios = <&gpio1 24 0>; + gpios = <&portb 24 0>; linux,default-trigger = "heartbeat"; }; led@1 { label = "1"; - gpios = <&gpio1 25 0>; + gpios = <&portb 25 0>; }; led@2 { label = "2"; - gpios = <&gpio1 26 0>; + gpios = <&portb 26 0>; }; led@3 { label = "3"; - gpios = <&gpio1 27 0>; + gpios = <&portb 27 0>; }; }; @@ -67,38 +67,29 @@ key@0 { label = "F1"; - gpios = <&gpio2 21 0>; + gpios = <&portc 21 0>; linux,code = <59>; }; key@1 { label = "F2"; - gpios = <&gpio2 22 0>; + gpios = <&portc 22 0>; linux,code = <60>; }; key@2 { label = "F3"; - gpios = <&gpio2 23 0>; + gpios = <&portc 23 0>; linux,code = <61>; }; key@3 { label = "F4"; - gpios = <&gpio2 24 0>; + gpios = <&portc 24 0>; linux,code = <62>; }; }; -&gmac1 { - phy-mode = "rgmii"; - status = "okay"; -}; - -&mmc { - status = "okay"; -}; - &i2c0 { status = "disabled"; |