1/* 2 * Copyright (c) 2022 Grant Ramsay <grant.ramsay@hotmail.com> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6/dts-v1/; 7 8#include <espressif/esp32/esp32_wrover_e_n4r8.dtsi> 9#include "esp32_ethernet_kit-pinctrl.dtsi" 10#include <espressif/partitions_0x1000_default.dtsi> 11 12/ { 13 model = "Espressif ESP32-Ethernet-Kit PROCPU"; 14 compatible = "espressif,esp32"; 15 16 aliases { 17 uart-0 = &uart0; 18 watchdog0 = &wdt0; 19 }; 20 21 chosen { 22 zephyr,sram = &sram1; 23 zephyr,console = &uart0; 24 zephyr,shell-uart = &uart0; 25 zephyr,flash = &flash0; 26 zephyr,code-partition = &slot0_partition; 27 zephyr,bt-hci = &esp32_bt_hci; 28 }; 29}; 30 31&uart0 { 32 status = "okay"; 33 current-speed = <115200>; 34 pinctrl-0 = <&uart0_default>; 35 pinctrl-names = "default"; 36}; 37 38&gpio0 { 39 status = "okay"; 40}; 41 42&gpio1 { 43 status = "okay"; 44}; 45 46&spi2 { 47 #address-cells = <1>; 48 #size-cells = <0>; 49 status = "okay"; 50 pinctrl-0 = <&spim2_default>; 51 pinctrl-names = "default"; 52}; 53 54&timer0 { 55 status = "okay"; 56}; 57 58&timer1 { 59 status = "okay"; 60}; 61 62&timer2 { 63 status = "okay"; 64}; 65 66&timer3 { 67 status = "okay"; 68}; 69 70&trng0 { 71 status = "okay"; 72}; 73 74&mdio { 75 pinctrl-0 = <&mdio_default>; 76 pinctrl-names = "default"; 77 78 phy: ethernet-phy@1 { 79 compatible = "ethernet-phy"; 80 status = "disabled"; 81 reg = <1>; 82 }; 83}; 84 85ð { 86 phy-handle = <&phy>; 87}; 88 89&esp32_bt_hci { 90 status = "okay"; 91}; 92