Debian Codegraph @

arch/arm64/boot/dts/freescale/imx8mp-hummingboard-pro.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3 * Copyright 2025 Josua Mayer <[email protected]>
4 */
5
6 /dts-v1/;
7
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
9
10 #include "imx8mp-sr-som.dtsi"
11 #include "imx8mp-hummingboard-pulse-codec.dtsi"
12 #include "imx8mp-hummingboard-pulse-common.dtsi"
13 #include "imx8mp-hummingboard-pulse-hdmi.dtsi"
14 #include "imx8mp-hummingboard-pulse-m2con.dtsi"
15 #include "imx8mp-hummingboard-pulse-mini-hdmi.dtsi"
16
17 / {
18 model = "SolidRun i.MX8MP HummingBoard Pro";
19 compatible = "solidrun,imx8mp-hummingboard-pro",
20 "solidrun,imx8mp-sr-som", "fsl,imx8mp";
21
22 aliases {
23 ethernet0 = &eqos;
24 ethernet1 = &fec;
25 };
26 };
27
28 &iomuxc {
29 pinctrl-names = "default";
30 pinctrl-0 = <&mikro_pwm_pins>, <&mikro_int_pins>, <&hdmi_pins>,
31 <&m2_wwan_wake_pins>;
32 };
33
34 &pcie {
35 pinctrl-0 = <&m2_reset_pins>;
36 pinctrl-names = "default";
37 reset-gpio = <&gpio1 6 GPIO_ACTIVE_LOW>;
38 status = "okay";
39 };
40
41 &pcie_phy {
42 clocks = <&hsio_blk_ctrl>;
43 clock-names = "ref";
44 fsl,clkreq-unsupported;
45 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_OUTPUT>;
46 status = "okay";
47 };
48
49 &phy0 {
50 leds {
51 /* ADIN1300 LED_0 pin */
52 led@0 {
53 reg = <0>;
54 color = <LED_COLOR_ID_ORANGE>;
55 function = LED_FUNCTION_LAN;
56 default-state = "keep";
57 };
58
59 /delete-node/ led@1;
60 };
61 };
62
63 &phy1 {
64 leds {
65 #address-cells = <1>;
66 #size-cells = <0>;
67
68 /* ADIN1300 LED_0 pin */
69 led@0 {
70 reg = <0>;
71 color = <LED_COLOR_ID_GREEN>;
72 function = LED_FUNCTION_LAN;
73 default-state = "keep";
74 };
75 };
76 };