2017-05-09 19:52:29 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2017 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <st/stm32l475.dtsi>
|
2017-11-23 20:39:20 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
soc {
|
2018-05-17 21:52:09 +08:00
|
|
|
i2c4: i2c@40008400 {
|
|
|
|
compatible = "st,stm32-i2c-v2";
|
|
|
|
clock-frequency = <I2C_BITRATE_STANDARD>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x40008400 0x400>;
|
2018-07-03 23:00:40 +08:00
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00000002>;
|
2018-05-17 21:52:09 +08:00
|
|
|
interrupts = <83 0>, <84 0>;
|
|
|
|
interrupt-names = "event", "error";
|
|
|
|
status = "disabled";
|
|
|
|
label= "I2C_4";
|
|
|
|
};
|
|
|
|
|
2018-04-24 21:32:10 +08:00
|
|
|
pinctrl: pin-controller@48000000 {
|
2017-11-23 20:39:20 +08:00
|
|
|
reg = <0x48000000 0x2400>;
|
|
|
|
|
|
|
|
gpioi: gpio@480002000 {
|
|
|
|
compatible = "st,stm32-gpio";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
reg = <0x48002000 0x400>;
|
|
|
|
clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000100>;
|
|
|
|
label = "GPIOI";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|