From 8d7045df9e35f34987804ebf33495e6e857337cd Mon Sep 17 00:00:00 2001 From: yaakov entin Date: Wed, 27 Sep 2023 16:17:33 +0300 Subject: [PATCH] ucm-imx93: dts: add led heartbeat and eth with fec controller --- .../boot/dts/compulab/ucm-imx93-pinctrl.dtsi | 6 +++++ arch/arm64/boot/dts/compulab/ucm-imx93.dtsi | 27 +++++++++++++------ 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/compulab/ucm-imx93-pinctrl.dtsi b/arch/arm64/boot/dts/compulab/ucm-imx93-pinctrl.dtsi index 99877df90ca1d..4840826a09260 100644 --- a/arch/arm64/boot/dts/compulab/ucm-imx93-pinctrl.dtsi +++ b/arch/arm64/boot/dts/compulab/ucm-imx93-pinctrl.dtsi @@ -4,6 +4,12 @@ */ &iomuxc { + pinctrl_gpio_led: gpioledgrp { + fsl,pins = < + MX93_PAD_PDM_BIT_STREAM1__GPIO1_IO10 0x206 + >; + }; + pinctrl_eqos: eqosgrp { fsl,pins = < MX93_PAD_ENET1_MDC__ENET_QOS_MDC 0x57e diff --git a/arch/arm64/boot/dts/compulab/ucm-imx93.dtsi b/arch/arm64/boot/dts/compulab/ucm-imx93.dtsi index f9d38d8573c4b..7d995717ba352 100644 --- a/arch/arm64/boot/dts/compulab/ucm-imx93.dtsi +++ b/arch/arm64/boot/dts/compulab/ucm-imx93.dtsi @@ -21,6 +21,17 @@ stdout-path = &lpuart1; }; + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_led>; + + heartbeat-led { + gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + }; + }; + reserved-memory { #address-cells = <2>; #size-cells = <2>; @@ -30,14 +41,14 @@ compatible = "shared-dma-pool"; reusable; alloc-ranges = <0 0x80000000 0 0x95ffffff>; - size = <0 0x10000000>; + size = <0 0x16000000>; linux,cma-default; }; ethosu_mem: ethosu_region@C0000000 { compatible = "shared-dma-pool"; reusable; - reg = <0x0 0x98000000 0x0 0x7ffffff>; + reg = <0x0 0x98000000 0x0 0x8000000>; }; vdev0vring0: vdev0vring0@a4000000 { @@ -65,15 +76,15 @@ no-map; }; - vdevbuffer: vdevbuffer@a4020000 { + vdevbuffer: vdevbuffer@84020000 { compatible = "shared-dma-pool"; - reg = <0 0xa4020000 0 0x100000>; + reg = <0 0x84020000 0 0x100000>; no-map; }; - ele_reserved: ele-reserved@a4120000 { + ele_reserved: ele-reserved@84120000 { compatible = "shared-dma-pool"; - reg = <0 0xa4120000 0 0x100000>; + reg = <0 0x84120000 0 0x100000>; no-map; }; }; @@ -255,7 +266,7 @@ #size-cells = <0>; clock-frequency = <5000000>; - ethphy1: ethernet-phy@4 { + ethphy1: ethernet-phy-eqos@4 { compatible = "ethernet-phy-ieee802.3-c22"; reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; reset-assert-us = <10000>; @@ -281,7 +292,7 @@ #size-cells = <0>; clock-frequency = <5000000>; - ethphy2: ethernet-phy@5 { + ethphy2: ethernet-phy-fec@5 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <5>; eee-broken-1000t;