1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2c66ec88fSEmmanuel Vadot/* 3c66ec88fSEmmanuel Vadot * Copyright (C) 2016 Marvell Technology Group Ltd. 4c66ec88fSEmmanuel Vadot * 5c66ec88fSEmmanuel Vadot * Device Tree file for MACCHIATOBin Armada 8040 community board platform 6c66ec88fSEmmanuel Vadot */ 7c66ec88fSEmmanuel Vadot 8*5def4c47SEmmanuel Vadot#include <dt-bindings/leds/common.h> 9*5def4c47SEmmanuel Vadot 10c66ec88fSEmmanuel Vadot#include "armada-8040-mcbin.dtsi" 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadot/ { 13c66ec88fSEmmanuel Vadot model = "Marvell 8040 MACCHIATOBin Single-shot"; 14c66ec88fSEmmanuel Vadot compatible = "marvell,armada8040-mcbin-singleshot", 15c66ec88fSEmmanuel Vadot "marvell,armada8040-mcbin", "marvell,armada8040", 16c66ec88fSEmmanuel Vadot "marvell,armada-ap806-quad", "marvell,armada-ap806"; 17*5def4c47SEmmanuel Vadot 18*5def4c47SEmmanuel Vadot leds { 19*5def4c47SEmmanuel Vadot compatible = "gpio-leds"; 20*5def4c47SEmmanuel Vadot pinctrl-0 = <&cp0_led18_pins>; 21*5def4c47SEmmanuel Vadot pinctrl-names = "default"; 22*5def4c47SEmmanuel Vadot 23*5def4c47SEmmanuel Vadot led18 { 24*5def4c47SEmmanuel Vadot gpios = <&cp0_gpio2 1 GPIO_ACTIVE_LOW>; 25*5def4c47SEmmanuel Vadot function = LED_FUNCTION_HEARTBEAT; 26*5def4c47SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 27*5def4c47SEmmanuel Vadot linux,default-trigger = "heartbeat"; 28*5def4c47SEmmanuel Vadot }; 29*5def4c47SEmmanuel Vadot }; 30c66ec88fSEmmanuel Vadot}; 31c66ec88fSEmmanuel Vadot 32c66ec88fSEmmanuel Vadot&cp0_eth0 { 33c66ec88fSEmmanuel Vadot status = "okay"; 34c66ec88fSEmmanuel Vadot phy-mode = "10gbase-r"; 35c66ec88fSEmmanuel Vadot managed = "in-band-status"; 36c66ec88fSEmmanuel Vadot sfp = <&sfp_eth0>; 37c66ec88fSEmmanuel Vadot}; 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot&cp1_eth0 { 40c66ec88fSEmmanuel Vadot status = "okay"; 41c66ec88fSEmmanuel Vadot phy-mode = "10gbase-r"; 42c66ec88fSEmmanuel Vadot managed = "in-band-status"; 43c66ec88fSEmmanuel Vadot sfp = <&sfp_eth1>; 44c66ec88fSEmmanuel Vadot}; 45*5def4c47SEmmanuel Vadot 46*5def4c47SEmmanuel Vadot&cp0_pinctrl { 47*5def4c47SEmmanuel Vadot cp0_led18_pins: led18-pins { 48*5def4c47SEmmanuel Vadot marvell,pins = "mpp33"; 49*5def4c47SEmmanuel Vadot marvell,function = "gpio"; 50*5def4c47SEmmanuel Vadot }; 51*5def4c47SEmmanuel Vadot}; 52