xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mp-aristainetos3-helios.dts (revision 2846c90520eb4cc74e24d586a0ea0f4a0006bc73)
1*2846c905SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*2846c905SEmmanuel Vadot/*
3*2846c905SEmmanuel Vadot * Copyright (C) 2024 Heiko Schocher <hs@denx.de>
4*2846c905SEmmanuel Vadot */
5*2846c905SEmmanuel Vadot
6*2846c905SEmmanuel Vadot/dts-v1/;
7*2846c905SEmmanuel Vadot
8*2846c905SEmmanuel Vadot#include <dt-bindings/leds/common.h>
9*2846c905SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*2846c905SEmmanuel Vadot#include "imx8mp-aristainetos3a-som-v1.dtsi"
11*2846c905SEmmanuel Vadot
12*2846c905SEmmanuel Vadot&{/} {
13*2846c905SEmmanuel Vadot	model = "Aristainetos3 helios carrier";
14*2846c905SEmmanuel Vadot	compatible = "abb,imx8mp-aristanetos3-helios",
15*2846c905SEmmanuel Vadot		     "abb,imx8mp-aristanetos3-som",
16*2846c905SEmmanuel Vadot		     "fsl,imx8mp";
17*2846c905SEmmanuel Vadot
18*2846c905SEmmanuel Vadot	led-controller {
19*2846c905SEmmanuel Vadot		compatible = "gpio-leds";
20*2846c905SEmmanuel Vadot
21*2846c905SEmmanuel Vadot		led-0 {
22*2846c905SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
23*2846c905SEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
24*2846c905SEmmanuel Vadot			function-enumerator = <20>;
25*2846c905SEmmanuel Vadot			gpios = <&pca6416 12 GPIO_ACTIVE_LOW>;
26*2846c905SEmmanuel Vadot			default-state = "off";
27*2846c905SEmmanuel Vadot		};
28*2846c905SEmmanuel Vadot
29*2846c905SEmmanuel Vadot		led-1 {
30*2846c905SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
31*2846c905SEmmanuel Vadot			color = <LED_COLOR_ID_YELLOW>;
32*2846c905SEmmanuel Vadot			function-enumerator = <20>;
33*2846c905SEmmanuel Vadot			gpios = <&pca6416 13 GPIO_ACTIVE_LOW>;
34*2846c905SEmmanuel Vadot			default-state = "off";
35*2846c905SEmmanuel Vadot		};
36*2846c905SEmmanuel Vadot
37*2846c905SEmmanuel Vadot		led-2 {
38*2846c905SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
39*2846c905SEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
40*2846c905SEmmanuel Vadot			function-enumerator = <20>;
41*2846c905SEmmanuel Vadot			gpios = <&pca6416 14 GPIO_ACTIVE_LOW>;
42*2846c905SEmmanuel Vadot			default-state = "off";
43*2846c905SEmmanuel Vadot		};
44*2846c905SEmmanuel Vadot
45*2846c905SEmmanuel Vadot		led-3 {
46*2846c905SEmmanuel Vadot			function = LED_FUNCTION_STATUS;
47*2846c905SEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
48*2846c905SEmmanuel Vadot			function-enumerator = <20>;
49*2846c905SEmmanuel Vadot			gpios = <&pca6416 15 GPIO_ACTIVE_LOW>;
50*2846c905SEmmanuel Vadot			default-state = "off";
51*2846c905SEmmanuel Vadot		};
52*2846c905SEmmanuel Vadot	};
53*2846c905SEmmanuel Vadot};
54*2846c905SEmmanuel Vadot
55*2846c905SEmmanuel Vadot&ethphy1 {
56*2846c905SEmmanuel Vadot	status = "disabled";
57*2846c905SEmmanuel Vadot};
58*2846c905SEmmanuel Vadot
59*2846c905SEmmanuel Vadot&fec {
60*2846c905SEmmanuel Vadot	status = "disabled";
61*2846c905SEmmanuel Vadot};
62*2846c905SEmmanuel Vadot
63*2846c905SEmmanuel Vadot&i2c1 {
64*2846c905SEmmanuel Vadot	eeprom@57 {
65*2846c905SEmmanuel Vadot		compatible = "atmel,24c64";
66*2846c905SEmmanuel Vadot		reg = <0x57>;
67*2846c905SEmmanuel Vadot	};
68*2846c905SEmmanuel Vadot};
69*2846c905SEmmanuel Vadot
70*2846c905SEmmanuel Vadot&i2c3 {
71*2846c905SEmmanuel Vadot	pca6416: gpio@20 {
72*2846c905SEmmanuel Vadot		compatible = "ti,tca6416";
73*2846c905SEmmanuel Vadot		reg = <0x20>;
74*2846c905SEmmanuel Vadot		gpio-controller;
75*2846c905SEmmanuel Vadot		#gpio-cells = <2>;
76*2846c905SEmmanuel Vadot		gpio-line-names = "DIN0_CON",
77*2846c905SEmmanuel Vadot			"DIN1_CON",
78*2846c905SEmmanuel Vadot			"DIN2_CON",
79*2846c905SEmmanuel Vadot			"DIN3_CON",
80*2846c905SEmmanuel Vadot			"DIN4_CON",
81*2846c905SEmmanuel Vadot			"DIN5_CON",
82*2846c905SEmmanuel Vadot			"DIN6_CON",
83*2846c905SEmmanuel Vadot			"DIN7_CON",
84*2846c905SEmmanuel Vadot			"PM102_RES",
85*2846c905SEmmanuel Vadot			"COMx_RES",
86*2846c905SEmmanuel Vadot			"BPL_RES",
87*2846c905SEmmanuel Vadot			"PC_RES",
88*2846c905SEmmanuel Vadot			"LED_RED",
89*2846c905SEmmanuel Vadot			"LED_YELLOW",
90*2846c905SEmmanuel Vadot			"LED_GREEN",
91*2846c905SEmmanuel Vadot			"LED_BLUE";
92*2846c905SEmmanuel Vadot	};
93*2846c905SEmmanuel Vadot
94*2846c905SEmmanuel Vadot	rtc@68 {
95*2846c905SEmmanuel Vadot		compatible = "st,m41t00";
96*2846c905SEmmanuel Vadot		reg = <0x68>;
97*2846c905SEmmanuel Vadot	};
98*2846c905SEmmanuel Vadot};
99