/* * Copyright (c) 2021 Guðni Már Gilbert * * SPDX-License-Identifier: Apache-2.0 */ #include / { soc { compatible = "st,stm32g473", "st,stm32g4", "simple-bus"; timers5: timers@40000c00 { compatible = "st,stm32-timers"; reg = <0x40000c00 0x400>; clocks = <&rcc STM32_CLOCK(APB1, 3U)>; resets = <&rctl STM32_RESET(APB1L, 3U)>; interrupts = <50 0>; interrupt-names = "global"; st,prescaler = <0>; status = "disabled"; pwm { compatible = "st,stm32-pwm"; status = "disabled"; #pwm-cells = <3>; }; }; adc4: adc@50000500 { compatible = "st,stm32-adc"; reg = <0x50000500 0x100>; clocks = <&rcc STM32_CLOCK(AHB2, 14U)>; interrupts = <61 0>; status = "disabled"; #io-channel-cells = <1>; resolutions = ; sampling-times = <3 7 13 25 48 93 248 641>; st,adc-sequencer = "FULLY_CONFIGURABLE"; st,adc-oversampler = "OVERSAMPLER_MINIMAL"; }; adc5: adc@50000600 { compatible = "st,stm32-adc"; reg = <0x50000600 0x100>; clocks = <&rcc STM32_CLOCK(AHB2, 14U)>; interrupts = <62 0>; status = "disabled"; #io-channel-cells = <1>; resolutions = ; sampling-times = <3 7 13 25 48 93 248 641>; st,adc-sequencer = "FULLY_CONFIGURABLE"; st,adc-oversampler = "OVERSAMPLER_MINIMAL"; }; spi4: spi@40013c00 { compatible = "st,stm32-spi-fifo", "st,stm32-spi"; #address-cells = <1>; #size-cells = <0>; reg = <0x40013c00 0x400>; clocks = <&rcc STM32_CLOCK(APB2, 15U)>; interrupts = <84 5>; status = "disabled"; }; dac2: dac@50000c00 { compatible = "st,stm32-dac"; reg = <0x50000c00 0x400>; clocks = <&rcc STM32_CLOCK(AHB2, 17U)>; status = "disabled"; #io-channel-cells = <1>; }; dac4: dac@50001400 { compatible = "st,stm32-dac"; reg = <0x50001400 0x400>; clocks = <&rcc STM32_CLOCK(AHB2, 19U)>; status = "disabled"; #io-channel-cells = <1>; }; i2c4: i2c@40008400 { compatible = "st,stm32-i2c-v2"; clock-frequency = ; #address-cells = <1>; #size-cells = <0>; reg = <0x40008400 0x400>; clocks = <&rcc STM32_CLOCK(APB1_2, 1U)>; interrupts = <82 0>, <83 0>; interrupt-names = "event", "error"; status = "disabled"; }; fdcan3: can@40006c00 { compatible = "st,stm32-fdcan"; reg = <0x40006c00 0x400>, <0x4000a400 0x9f0>; reg-names = "m_can", "message_ram"; interrupts = <88 0>, <89 0>; interrupt-names = "int0", "int1"; clocks = <&rcc STM32_CLOCK(APB1, 25U)>; bosch,mram-cfg = <0x6a0 28 8 3 3 0 3 3>; status = "disabled"; }; }; smbus4: smbus4 { compatible = "st,stm32-smbus"; #address-cells = <1>; #size-cells = <0>; i2c = <&i2c4>; status = "disabled"; }; };