Browse Source

dts: Add MAX32666 SDHC nodes and bindings

Include sdhc0 in MAX32666 devicetree and add devicetree bindings for
MAX32 SDHC driver

Signed-off-by: Mert Ekren <mert.ekren@analog.com>
pull/85809/head
Mert Ekren 9 months ago committed by Benjamin Cabé
parent
commit
6280d2acbf
  1. 14
      dts/arm/adi/max32/max32666.dtsi
  2. 12
      dts/bindings/sdhc/adi,max32-sdhc.yaml

14
dts/arm/adi/max32/max32666.dtsi

@ -174,5 +174,19 @@ @@ -174,5 +174,19 @@
interrupts = <67 0>;
status = "disabled";
};
sdhc0: sdhc@400b6000 {
compatible = "adi,max32-sdhc";
reg = <0x400b6000 0x1000>;
interrupts = <66 0>;
status = "disabled";
mmc {
compatible = "zephyr,sdmmc-disk";
status = "disabled";
disk-name = "SD";
};
power-delay-ms = <1500>;
clocks = <&gcr ADI_MAX32_CLOCK_BUS1 10>;
};
};
};

12
dts/bindings/sdhc/adi,max32-sdhc.yaml

@ -0,0 +1,12 @@ @@ -0,0 +1,12 @@
# Copyright (c) 2024 Analog Devices, Inc.
# SPDX-License-Identifier: Apache-2.0
description: ADI MAX32 SDHC
compatible: "adi,max32-sdhc"
include: [sdhc.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
Loading…
Cancel
Save