xref: /linux/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts (revision 8e92c9902ff11a1c2aab229a3d7d4c1d7e5b698f)
1// SPDX-License-Identifier: GPL-2.0 OR MIT
2/*
3 * Copyright (C) 2024 Yangyu Chen <cyy@cyyself.name>
4 */
5
6#include "k1.dtsi"
7#include "k1-pinctrl.dtsi"
8
9/ {
10	model = "Banana Pi BPI-F3";
11	compatible = "bananapi,bpi-f3", "spacemit,k1";
12
13	aliases {
14		serial0 = &uart0;
15	};
16
17	chosen {
18		stdout-path = "serial0";
19	};
20
21	leds {
22		compatible = "gpio-leds";
23
24		led1 {
25			label = "sys-led";
26			gpios = <&gpio K1_GPIO(96) GPIO_ACTIVE_HIGH>;
27			linux,default-trigger = "heartbeat";
28			default-state = "on";
29		};
30	};
31};
32
33&emmc {
34	bus-width = <8>;
35	mmc-hs400-1_8v;
36	mmc-hs400-enhanced-strobe;
37	non-removable;
38	no-sd;
39	no-sdio;
40	status = "okay";
41};
42
43&uart0 {
44	pinctrl-names = "default";
45	pinctrl-0 = <&uart0_2_cfg>;
46	status = "okay";
47};
48