/* * Copyright (c) 2024 Analog Devices, Inc. * * SPDX-License-Identifier: Apache-2.0 */ #include #include #include &clk_ipo { clock-frequency = ; }; &clk_inro { clock-frequency = ; }; /delete-node/ &clk_erfo; /* MAX78002 extra clocks. */ / { clocks { clk_ipll: clk_ipll { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = ; status = "disabled"; }; clk_ebo: clk_ebo { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = ; status = "disabled"; }; }; }; &flash0 { reg = <0x10000000 DT_SIZE_K(2560)>; erase-block-size = <16384>; }; &pinctrl { reg = <0x40008000 0x2200>; gpio2: gpio@40080400 { reg = <0x40080400 0x200>; compatible = "adi,max32-gpio"; gpio-controller; #gpio-cells = <2>; interrupts = <26 0>; clocks = <&gcr ADI_MAX32_CLOCK_BUS2 0>; status = "disabled"; }; gpio3: gpio@40080600 { reg = <0x40080600 0x200>; // Address and size are dummy. compatible = "adi,max32-gpio"; gpio-controller; #gpio-cells = <2>; interrupts = <54 0>; status = "disabled"; }; }; &adc { compatible = "adi,max32-adc-sar", "adi,max32-adc"; clock-source = ; clock-divider = <16>; channel-count = <17>; track-count = <4>; idle-count = <0>; vref-mv = <1250>; resolution = <12>; }; /* MAX78002 extra peripherals. */ / { soc { sram1: memory@20008000 { compatible = "mmio-sram"; reg = <0x20008000 DT_SIZE_K(32)>; }; sram2: memory@20010000 { compatible = "mmio-sram"; reg = <0x20010000 DT_SIZE_K(64)>; }; sram3: memory@20020000 { compatible = "mmio-sram"; reg = <0x20020000 DT_SIZE_K(64)>; }; sram4: memory@20030000 { compatible = "mmio-sram"; reg = <0x20030000 DT_SIZE_K(64)>; }; sram5: memory@20040000 { compatible = "mmio-sram"; reg = <0x20040000 DT_SIZE_K(64)>; }; sram6: memory@20050000 { compatible = "mmio-sram"; reg = <0x20050000 DT_SIZE_K(48)>; }; sram7: memory@2005c000 { compatible = "mmio-sram"; reg = <0x2005c000 DT_SIZE_K(16)>; }; uart3: serial@40081400 { compatible = "adi,max32-uart"; reg = <0x40081400 0x400>; clocks = <&gcr ADI_MAX32_CLOCK_BUS2 4>; clock-source = ; interrupts = <88 0>; status = "disabled"; }; spi0: spi@400be000 { compatible = "adi,max32-spi"; reg = <0x400be000 0x1000>; #address-cells = <1>; #size-cells = <0>; clocks = <&gcr ADI_MAX32_CLOCK_BUS1 16>; interrupts = <56 0>; status = "disabled"; }; spi1: spi@40046000 { compatible = "adi,max32-spi"; reg = <0x40046000 0x2000>; #address-cells = <1>; #size-cells = <0>; clocks = <&gcr ADI_MAX32_CLOCK_BUS0 6>; interrupts = <16 0>; status = "disabled"; }; dma0: dma@40028000 { compatible = "adi,max32-dma"; reg = <0x40028000 0x1000>; clocks = <&gcr ADI_MAX32_CLOCK_BUS0 5>; interrupts = <28 0>, <29 0>, <30 0>, <31 0>; dma-channels = <4>; status = "disabled"; #dma-cells = <2>; }; wdt1: watchdog@40080800 { compatible = "adi,max32-watchdog"; reg = <0x40080800 0x400>; interrupts = <57 0>; clocks = <&gcr ADI_MAX32_CLOCK_BUS2 1>; clock-source = ; status = "disabled"; }; lptimer0: timer@40080c00 { compatible = "adi,max32-timer"; reg = <0x40080c00 0x400>; interrupts = <9 0>; status = "disabled"; clocks = <&gcr ADI_MAX32_CLOCK_BUS2 2>; clock-source = ; prescaler = <1>; pwm { compatible = "adi,max32-pwm"; status = "disabled"; #pwm-cells = <3>; }; counter { compatible = "adi,max32-counter"; status = "disabled"; }; }; lptimer1: timer@40081000 { compatible = "adi,max32-timer"; reg = <0x40081000 0x400>; interrupts = <10 0>; status = "disabled"; clocks = <&gcr ADI_MAX32_CLOCK_BUS2 3>; clock-source = ; prescaler = <1>; pwm { compatible = "adi,max32-pwm"; status = "disabled"; #pwm-cells = <3>; }; counter { compatible = "adi,max32-counter"; status = "disabled"; }; }; w1: w1@4003d000 { compatible = "adi,max32-w1"; reg = <0x4003d000 0x1000>; clocks = <&gcr ADI_MAX32_CLOCK_BUS1 13>; interrupts = <67 0>; status = "disabled"; }; }; };