1*0ee59934STroy Mitchell// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2*0ee59934STroy Mitchell/* 3*0ee59934STroy Mitchell * Copyright (C) 2024 Yangyu Chen <cyy@cyyself.name> 4*0ee59934STroy Mitchell * Copyright (C) 2025 SpacemiT, Inc 5*0ee59934STroy Mitchell * Copyright (C) 2025 Troy Mitchell <troy.mitchell@linux.spacemit.com> 6*0ee59934STroy Mitchell */ 7*0ee59934STroy Mitchell 8*0ee59934STroy Mitchell/dts-v1/; 9*0ee59934STroy Mitchell 10*0ee59934STroy Mitchell#include "k1.dtsi" 11*0ee59934STroy Mitchell#include "k1-pinctrl.dtsi" 12*0ee59934STroy Mitchell 13*0ee59934STroy Mitchell/ { 14*0ee59934STroy Mitchell model = "SpacemiT MusePi Pro"; 15*0ee59934STroy Mitchell compatible = "spacemit,musepi-pro", "spacemit,k1"; 16*0ee59934STroy Mitchell 17*0ee59934STroy Mitchell aliases { 18*0ee59934STroy Mitchell ethernet0 = ð0; 19*0ee59934STroy Mitchell serial0 = &uart0; 20*0ee59934STroy Mitchell }; 21*0ee59934STroy Mitchell 22*0ee59934STroy Mitchell chosen { 23*0ee59934STroy Mitchell stdout-path = "serial0"; 24*0ee59934STroy Mitchell }; 25*0ee59934STroy Mitchell 26*0ee59934STroy Mitchell leds { 27*0ee59934STroy Mitchell compatible = "gpio-leds"; 28*0ee59934STroy Mitchell 29*0ee59934STroy Mitchell led1 { 30*0ee59934STroy Mitchell label = "sys-led"; 31*0ee59934STroy Mitchell gpios = <&gpio K1_GPIO(96) GPIO_ACTIVE_HIGH>; 32*0ee59934STroy Mitchell linux,default-trigger = "heartbeat"; 33*0ee59934STroy Mitchell default-state = "on"; 34*0ee59934STroy Mitchell }; 35*0ee59934STroy Mitchell }; 36*0ee59934STroy Mitchell}; 37*0ee59934STroy Mitchell 38*0ee59934STroy Mitchell&emmc { 39*0ee59934STroy Mitchell bus-width = <8>; 40*0ee59934STroy Mitchell mmc-hs400-1_8v; 41*0ee59934STroy Mitchell mmc-hs400-enhanced-strobe; 42*0ee59934STroy Mitchell non-removable; 43*0ee59934STroy Mitchell no-sd; 44*0ee59934STroy Mitchell no-sdio; 45*0ee59934STroy Mitchell status = "okay"; 46*0ee59934STroy Mitchell}; 47*0ee59934STroy Mitchell 48*0ee59934STroy Mitchellð0 { 49*0ee59934STroy Mitchell phy-handle = <&rgmii0>; 50*0ee59934STroy Mitchell phy-mode = "rgmii-id"; 51*0ee59934STroy Mitchell pinctrl-0 = <&gmac0_cfg>; 52*0ee59934STroy Mitchell pinctrl-names = "default"; 53*0ee59934STroy Mitchell rx-internal-delay-ps = <0>; 54*0ee59934STroy Mitchell tx-internal-delay-ps = <0>; 55*0ee59934STroy Mitchell status = "okay"; 56*0ee59934STroy Mitchell 57*0ee59934STroy Mitchell mdio-bus { 58*0ee59934STroy Mitchell #address-cells = <0x1>; 59*0ee59934STroy Mitchell #size-cells = <0x0>; 60*0ee59934STroy Mitchell 61*0ee59934STroy Mitchell reset-gpios = <&gpio K1_GPIO(110) GPIO_ACTIVE_LOW>; 62*0ee59934STroy Mitchell reset-delay-us = <10000>; 63*0ee59934STroy Mitchell reset-post-delay-us = <100000>; 64*0ee59934STroy Mitchell 65*0ee59934STroy Mitchell rgmii0: phy@1 { 66*0ee59934STroy Mitchell reg = <0x1>; 67*0ee59934STroy Mitchell }; 68*0ee59934STroy Mitchell }; 69*0ee59934STroy Mitchell}; 70*0ee59934STroy Mitchell 71*0ee59934STroy Mitchell&pdma { 72*0ee59934STroy Mitchell status = "okay"; 73*0ee59934STroy Mitchell}; 74*0ee59934STroy Mitchell 75*0ee59934STroy Mitchell&uart0 { 76*0ee59934STroy Mitchell pinctrl-0 = <&uart0_2_cfg>; 77*0ee59934STroy Mitchell pinctrl-names = "default"; 78*0ee59934STroy Mitchell status = "okay"; 79*0ee59934STroy Mitchell}; 80