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