Add devices node that support I2C for RA6 boards Signed-off-by: Tri Nguyen <tri.nguyen.wj@bp.renesas.com>
93 lines
1.5 KiB
Text
93 lines
1.5 KiB
Text
/*
|
|
* Copyright (c) 2024 Renesas Electronics Corporation
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include <renesas/ra/ra6/r7fa6e10f2cfp.dtsi>
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
#include "fpb_ra6e1-pinctrl.dtsi"
|
|
|
|
/ {
|
|
model = "Renesas FPB-RA6E1";
|
|
compatible = "renesas,ra6e1", "renesas,ra";
|
|
|
|
chosen {
|
|
zephyr,sram = &sram0;
|
|
zephyr,flash = &flash0;
|
|
zephyr,console = &uart0;
|
|
zephyr,shell-uart = &uart0;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
led1: led1 {
|
|
gpios = <&ioport4 7 GPIO_ACTIVE_HIGH>;
|
|
label = "LED1";
|
|
};
|
|
led2: led2 {
|
|
gpios = <&ioport4 8 GPIO_ACTIVE_HIGH>;
|
|
label = "LED2";
|
|
};
|
|
};
|
|
|
|
aliases {
|
|
led0 = &led1;
|
|
};
|
|
};
|
|
|
|
&sci0 {
|
|
pinctrl-0 = <&sci0_default>;
|
|
pinctrl-names = "default";
|
|
status = "okay";
|
|
uart0: uart {
|
|
current-speed = <115200>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&iic0 {
|
|
status = "okay";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
interrupts = <91 1>, <92 1>, <93 1>, <94 1>;
|
|
interrupt-names = "rxi", "txi", "tei", "eri";
|
|
clock-frequency = <DT_FREQ_M(1)>;
|
|
pinctrl-0 = <&iic0_default>;
|
|
pinctrl-names = "default";
|
|
};
|
|
|
|
&ioport4 {
|
|
status = "okay";
|
|
};
|
|
|
|
&subclk {
|
|
status = "okay";
|
|
};
|
|
|
|
&pll {
|
|
clocks = <&hoco>;
|
|
div = <2>;
|
|
mul = <20 0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&flash0 {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
boot_partition: partition@0 {
|
|
label = "application";
|
|
reg = <0x00000000 DT_SIZE_K(512)>;
|
|
};
|
|
|
|
storage_partition: partition@80000 {
|
|
label = "storage";
|
|
reg = <0x80000 DT_SIZE_K(512)>;
|
|
};
|
|
};
|
|
};
|