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