0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Copyright (C) 2016 Marvell Technology Group Ltd.
0004 *
0005 * Device Tree file for MACCHIATOBin Armada 8040 community board platform
0006 */
0007
0008 #include <dt-bindings/leds/common.h>
0009
0010 #include "armada-8040-mcbin.dtsi"
0011
0012 / {
0013 model = "Marvell 8040 MACCHIATOBin Single-shot";
0014 compatible = "marvell,armada8040-mcbin-singleshot",
0015 "marvell,armada8040-mcbin", "marvell,armada8040",
0016 "marvell,armada-ap806-quad", "marvell,armada-ap806";
0017
0018 leds {
0019 compatible = "gpio-leds";
0020 pinctrl-0 = <&cp0_led18_pins>;
0021 pinctrl-names = "default";
0022
0023 led18 {
0024 gpios = <&cp0_gpio2 1 GPIO_ACTIVE_LOW>;
0025 function = LED_FUNCTION_HEARTBEAT;
0026 color = <LED_COLOR_ID_GREEN>;
0027 linux,default-trigger = "heartbeat";
0028 };
0029 };
0030 };
0031
0032 &cp0_eth0 {
0033 status = "okay";
0034 phy-mode = "10gbase-r";
0035 managed = "in-band-status";
0036 sfp = <&sfp_eth0>;
0037 };
0038
0039 &cp1_eth0 {
0040 status = "okay";
0041 phy-mode = "10gbase-r";
0042 managed = "in-band-status";
0043 sfp = <&sfp_eth1>;
0044 };
0045
0046 &cp0_pinctrl {
0047 cp0_led18_pins: led18-pins {
0048 marvell,pins = "mpp33";
0049 marvell,function = "gpio";
0050 };
0051 };