This commit disables the sub-clock node for boards without a populated onboard crystal. Signed-off-by: Khoa Tran <khoa.tran.yj@bp.renesas.com>
119 lines
1.5 KiB
Plaintext
119 lines
1.5 KiB
Plaintext
/*
|
|
* Copyright (c) 2025 Renesas Electronics Corporation
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/dt-bindings/gpio/gpio.h>
|
|
#include <zephyr/dt-bindings/input/input-event-codes.h>
|
|
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
|
|
#include "mck_ra8t2-pinctrl.dtsi"
|
|
|
|
/ {
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led1: led1 {
|
|
gpios = <&ioport6 14 GPIO_ACTIVE_LOW>;
|
|
label = "LED1";
|
|
};
|
|
|
|
led2: led2 {
|
|
gpios = <&ioporta 15 GPIO_ACTIVE_LOW>;
|
|
label = "LED2";
|
|
};
|
|
|
|
led3: led3 {
|
|
gpios = <&ioporta 4 GPIO_ACTIVE_LOW>;
|
|
label = "LED3";
|
|
};
|
|
|
|
led4: led4 {
|
|
gpios = <&ioport9 0 GPIO_ACTIVE_LOW>;
|
|
label = "LED4";
|
|
};
|
|
|
|
led5: led5 {
|
|
gpios = <&ioport5 9 GPIO_ACTIVE_LOW>;
|
|
label = "LED5";
|
|
};
|
|
|
|
led6: led6 {
|
|
gpios = <&ioport5 10 GPIO_ACTIVE_LOW>;
|
|
label = "LED6";
|
|
};
|
|
};
|
|
};
|
|
|
|
&xtal {
|
|
clock-frequency = <DT_FREQ_M(24)>;
|
|
mosel = <0>;
|
|
#clock-cells = <0>;
|
|
status = "okay";
|
|
};
|
|
|
|
&pll {
|
|
status = "okay";
|
|
|
|
pllp: pllp {
|
|
status = "okay";
|
|
};
|
|
|
|
pllq: pllq {
|
|
status = "okay";
|
|
};
|
|
|
|
pllr: pllr {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&pll2 {
|
|
status = "okay";
|
|
|
|
pll2p {
|
|
status = "okay";
|
|
};
|
|
|
|
pll2q {
|
|
status = "okay";
|
|
};
|
|
|
|
pll2r {
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&uclk {
|
|
status = "okay";
|
|
};
|
|
|
|
&sciclk {
|
|
status = "okay";
|
|
};
|
|
|
|
&ioport5 {
|
|
status = "okay";
|
|
};
|
|
|
|
&ioport6 {
|
|
status = "okay";
|
|
};
|
|
|
|
&ioport9 {
|
|
status = "okay";
|
|
};
|
|
|
|
&ioporta {
|
|
status = "okay";
|
|
};
|
|
|
|
&ioportb {
|
|
status = "okay";
|
|
};
|
|
|
|
&usbfs {
|
|
pinctrl-0 = <&usbfs_default>;
|
|
pinctrl-names = "default";
|
|
maximum-speed = "full-speed";
|
|
};
|