1// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2/* 3 * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org> 4 * Copyright (C) 2023 Drew Fustini <dfustini@baylibre.com> 5 */ 6 7/dts-v1/; 8 9#include "th1520.dtsi" 10 11/ { 12 model = "BeagleV Ahead"; 13 compatible = "beagle,beaglev-ahead", "thead,th1520"; 14 15 aliases { 16 gpio0 = &gpio0; 17 gpio1 = &gpio1; 18 gpio2 = &gpio2; 19 gpio3 = &gpio3; 20 gpio4 = &gpio4; 21 gpio5 = &aogpio; 22 serial0 = &uart0; 23 serial1 = &uart1; 24 serial2 = &uart2; 25 serial3 = &uart3; 26 serial4 = &uart4; 27 serial5 = &uart5; 28 spi0 = &spi0; 29 }; 30 31 chosen { 32 stdout-path = "serial0:115200n8"; 33 }; 34 35 memory@0 { 36 device_type = "memory"; 37 reg = <0x0 0x00000000 0x1 0x00000000>; 38 39 }; 40}; 41 42&osc { 43 clock-frequency = <24000000>; 44}; 45 46&osc_32k { 47 clock-frequency = <32768>; 48}; 49 50&dmac0 { 51 status = "okay"; 52}; 53 54&emmc { 55 bus-width = <8>; 56 max-frequency = <198000000>; 57 mmc-hs400-1_8v; 58 non-removable; 59 no-sdio; 60 no-sd; 61 status = "okay"; 62}; 63 64&padctrl0_apsys { 65 uart0_pins: uart0-0 { 66 tx-pins { 67 pins = "UART0_TXD"; 68 function = "uart"; 69 bias-disable; 70 drive-strength = <3>; 71 input-disable; 72 input-schmitt-disable; 73 slew-rate = <0>; 74 }; 75 76 rx-pins { 77 pins = "UART0_RXD"; 78 function = "uart"; 79 bias-pull-up; 80 drive-strength = <1>; 81 input-enable; 82 input-schmitt-enable; 83 slew-rate = <0>; 84 }; 85 }; 86}; 87 88&sdio0 { 89 bus-width = <4>; 90 max-frequency = <198000000>; 91 status = "okay"; 92}; 93 94&uart0 { 95 pinctrl-names = "default"; 96 pinctrl-0 = <&uart0_pins>; 97 status = "okay"; 98}; 99 100&spi0 { 101 status = "okay"; 102}; 103