Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
// Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd

/dts-v1/;
#include "rk1808.dtsi"

/ {
	model = "Rockchip rk1808 fpga board";
	compatible = "rockchip,fpga", "rockchip,rk1808";

	chosen {
		bootargs = "earlycon=uart8250,mmio32,0xff550000 console=ttyFIQ0 root=/dev/mmcblk1p8 rootfstype=ext4 rootwait clk_ignore_unused";
	};

	memory@200000 {
		device_type = "memory";
		reg = <0x0 0x00200000 0x0 0x0FE00000>;
	};

	fiq_debugger: fiq-debugger {
		compatible = "rockchip,fiq-debugger";
		rockchip,serial-id = <2>;
		rockchip,wake-irq = <0>;
		rockchip,irq-mode-enable = <1>;
		rockchip,baudrate = <1500000>;  /* Only 115200 and 1500000 */
		interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
		status = "okay";
	};
};

&emmc {
	max-frequency = <400000>;
	clocks = <&xin24m>, <&xin24m>, <&xin24m>, <&xin24m>;
	clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
	mmc-hs200-1_8v;
	no-sdio;
	no-sd;
	num-slots = <1>;
	status = "okay";
};

&npu {
	status = "okay";
};

&sdmmc {
	max-frequency = <400000>;
	clocks = <&xin24m>, <&xin24m>, <&xin24m>, <&xin24m>;
	clock-names = "biu", "ciu", "ciu-drv", "ciu-sample";
	no-sdio;
	no-mmc;
	status = "okay";
};

/* If fiq_debugger set okay, need to define uart2 and to be disabled */
&uart2 {
	status = "disabled";
};