1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2/* 3 * Device Tree Source for the White Hawk CPU board 4 * 5 * Copyright (C) 2022 Renesas Electronics Corp. 6 */ 7 8#include "r8a779g0.dtsi" 9 10#include <dt-bindings/gpio/gpio.h> 11#include <dt-bindings/leds/common.h> 12 13/ { 14 model = "Renesas White Hawk CPU board"; 15 compatible = "renesas,white-hawk-cpu", "renesas,r8a779g0"; 16 17 leds { 18 compatible = "gpio-leds"; 19 20 led-1 { 21 gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>; 22 color = <LED_COLOR_ID_GREEN>; 23 function = LED_FUNCTION_INDICATOR; 24 function-enumerator = <1>; 25 }; 26 27 led-2 { 28 gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; 29 color = <LED_COLOR_ID_GREEN>; 30 function = LED_FUNCTION_INDICATOR; 31 function-enumerator = <2>; 32 }; 33 34 led-3 { 35 gpios = <&gpio7 2 GPIO_ACTIVE_HIGH>; 36 color = <LED_COLOR_ID_GREEN>; 37 function = LED_FUNCTION_INDICATOR; 38 function-enumerator = <3>; 39 }; 40 }; 41 42 memory@48000000 { 43 device_type = "memory"; 44 /* first 128MB is reserved for secure area. */ 45 reg = <0x0 0x48000000 0x0 0x78000000>; 46 }; 47 48 memory@480000000 { 49 device_type = "memory"; 50 reg = <0x4 0x80000000 0x0 0x80000000>; 51 }; 52 53 memory@600000000 { 54 device_type = "memory"; 55 reg = <0x6 0x00000000 0x1 0x00000000>; 56 }; 57}; 58 59&extal_clk { 60 clock-frequency = <16666666>; 61}; 62 63&extalr_clk { 64 clock-frequency = <32768>; 65}; 66 67&hscif0 { 68 status = "okay"; 69}; 70 71&i2c0 { 72 pinctrl-0 = <&i2c0_pins>; 73 pinctrl-names = "default"; 74 75 status = "okay"; 76 clock-frequency = <400000>; 77 78 eeprom@50 { 79 compatible = "rohm,br24g01", "atmel,24c01"; 80 label = "cpu-board"; 81 reg = <0x50>; 82 pagesize = <8>; 83 }; 84}; 85 86&pfc { 87 pinctrl-0 = <&scif_clk_pins>; 88 pinctrl-names = "default"; 89 90 hscif0_pins: hscif0 { 91 groups = "hscif0_data"; 92 function = "hscif0"; 93 }; 94 95 i2c0_pins: i2c0 { 96 groups = "i2c0"; 97 function = "i2c0"; 98 }; 99 100 scif_clk_pins: scif_clk { 101 groups = "scif_clk"; 102 function = "scif_clk"; 103 }; 104}; 105 106&scif_clk { 107 clock-frequency = <24000000>; 108}; 109 110&rwdt { 111 timeout-sec = <60>; 112 status = "okay"; 113}; 114