// SPDX-License-Identifier: (GPL-2.0+ or MIT) /* * Copyright (c) 2017 Icenowy Zheng */ /dts-v1/; #include "sun50i-h6.dtsi" #include / { model = "Pine H64"; compatible = "pine64,pine-h64", "allwinner,sun50i-h6"; aliases { serial0 = &uart0; }; chosen { stdout-path = "serial0:115200n8"; }; leds { compatible = "gpio-leds"; heartbeat { label = "pine-h64:green:heartbeat"; gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ }; link { label = "pine-h64:white:link"; gpios = <&r_pio 0 3 GPIO_ACTIVE_HIGH>; /* PL3 */ }; status { label = "pine-h64:blue:status"; gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */ }; }; }; &r_i2c { status = "okay"; pcf8563: rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; #clock-cells = <0>; }; }; &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_ph_pins>; status = "okay"; };