| /* |
| * Copyright (c) 2017 Linaro Limited |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| #include <st/l4/stm32l475.dtsi> |
| |
| / { |
| |
| clocks { |
| clk_hsi48: clk-hsi48 { |
| #clock-cells = <0>; |
| compatible = "fixed-clock"; |
| clock-frequency = <DT_FREQ_M(48)>; |
| status = "disabled"; |
| }; |
| }; |
| |
| soc { |
| compatible = "st,stm32l496", "st,stm32l4", "simple-bus"; |
| |
| rng: rng@50060800 { |
| clocks = <&rcc STM32_CLOCK(AHB2, 18U)>, |
| <&rcc STM32_SRC_HSI48 CLK48_SEL(0)>; |
| }; |
| |
| i2c4: i2c@40008400 { |
| compatible = "st,stm32-i2c-v2"; |
| clock-frequency = <I2C_BITRATE_STANDARD>; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| reg = <0x40008400 0x400>; |
| clocks = <&rcc STM32_CLOCK(APB1_2, 1U)>; |
| interrupts = <83 0>, <84 0>; |
| interrupt-names = "event", "error"; |
| status = "disabled"; |
| }; |
| |
| pinctrl: pin-controller@48000000 { |
| reg = <0x48000000 0x2400>; |
| |
| gpioi: gpio@48002000 { |
| compatible = "st,stm32-gpio"; |
| gpio-controller; |
| #gpio-cells = <2>; |
| ngpios = <12>; |
| reg = <0x48002000 0x400>; |
| clocks = <&rcc STM32_CLOCK(AHB2, 8U)>; |
| }; |
| }; |
| |
| can2: can@40006800 { |
| compatible = "st,stm32-bxcan"; |
| reg = <0x40006800 0x400>; |
| interrupts = <86 0>, <87 0>, <88 0>, <89 0>; |
| interrupt-names = "TX", "RX0", "RX1", "SCE"; |
| clocks = <&rcc STM32_CLOCK(APB1, 26U)>; //RCC_APB1ENR1_CAN2EN |
| master-can-reg = <0x40006400>; |
| status = "disabled"; |
| }; |
| |
| usbotg_fs: otgfs@50000000 { |
| clocks = <&rcc STM32_CLOCK(AHB2, 12U)>, |
| <&rcc STM32_SRC_HSI48 CLK48_SEL(0)>; |
| }; |
| |
| sdmmc1: sdmmc@40012800 { |
| clocks = <&rcc STM32_CLOCK(APB2, 10U)>, |
| <&rcc STM32_SRC_HSI48 CLK48_SEL(0)>; |
| }; |
| }; |
| |
| die_temp: dietemp { |
| ts-cal2-temp = <130>; |
| }; |
| |
| smbus4: smbus4 { |
| compatible = "st,stm32-smbus"; |
| #address-cells = <1>; |
| #size-cells = <0>; |
| i2c = <&i2c4>; |
| status = "disabled"; |
| }; |
| }; |