xref: /rk3399_ARM-atf/fdts/tc-fvp.dtsi (revision 4e772e6ba3b04f4d18e4f1e3341f86a49b1cfcc8)
135028bd7SLeo Yan/*
235028bd7SLeo Yan * Copyright (c) 2023-2024, Arm Limited. All rights reserved.
335028bd7SLeo Yan *
435028bd7SLeo Yan * SPDX-License-Identifier: BSD-3-Clause
535028bd7SLeo Yan */
635028bd7SLeo Yan
7*4e772e6bSLeo Yan#define STDOUT_PATH		"serial0:115200n8"
8*4e772e6bSLeo Yan#define GIC_CTRL_ADDR		2c010000
9*4e772e6bSLeo Yan#define GIC_GICR_OFFSET		0x200000
10*4e772e6bSLeo Yan#define UART_OFFSET		0x1000
11*4e772e6bSLeo Yan#define VENCODER_TIMING_CLK 25175000
12*4e772e6bSLeo Yan#define VENCODER_TIMING								\
13*4e772e6bSLeo Yan	clock-frequency = <VENCODER_TIMING_CLK>;				\
14*4e772e6bSLeo Yan	hactive = <640>;							\
15*4e772e6bSLeo Yan	vactive = <480>;							\
16*4e772e6bSLeo Yan	hfront-porch = <16>;							\
17*4e772e6bSLeo Yan	hback-porch = <48>;							\
18*4e772e6bSLeo Yan	hsync-len = <96>;							\
19*4e772e6bSLeo Yan	vfront-porch = <10>;							\
20*4e772e6bSLeo Yan	vback-porch = <33>;							\
21*4e772e6bSLeo Yan	vsync-len = <2>
22*4e772e6bSLeo Yan#define ETH_COMPATIBLE		"smsc,lan91c111"
23*4e772e6bSLeo Yan#define MMC_REMOVABLE		cd-gpios = <&sysreg 0 0>
24*4e772e6bSLeo Yan
2535028bd7SLeo Yan/ {
2635028bd7SLeo Yan	rtc@1c170000 {
2735028bd7SLeo Yan		compatible = "arm,pl031", "arm,primecell";
2835028bd7SLeo Yan		reg = <0x0 0x1C170000 0x0 0x1000>;
2935028bd7SLeo Yan		interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
3035028bd7SLeo Yan		clocks = <&soc_refclk>;
3135028bd7SLeo Yan		clock-names = "apb_pclk";
3235028bd7SLeo Yan	};
3335028bd7SLeo Yan
3435028bd7SLeo Yan	kmi@1c060000 {
3535028bd7SLeo Yan		compatible = "arm,pl050", "arm,primecell";
3635028bd7SLeo Yan		reg = <0x0 0x001c060000 0x0 0x1000>;
3735028bd7SLeo Yan		interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
3835028bd7SLeo Yan		clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
3935028bd7SLeo Yan		clock-names = "KMIREFCLK", "apb_pclk";
4035028bd7SLeo Yan	};
4135028bd7SLeo Yan
4235028bd7SLeo Yan	kmi@1c070000 {
4335028bd7SLeo Yan		compatible = "arm,pl050", "arm,primecell";
4435028bd7SLeo Yan		reg = <0x0 0x001c070000 0x0 0x1000>;
4535028bd7SLeo Yan		interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
4635028bd7SLeo Yan		clocks = <&bp_clock24mhz>, <&bp_clock24mhz>;
4735028bd7SLeo Yan		clock-names = "KMIREFCLK", "apb_pclk";
4835028bd7SLeo Yan	};
4935028bd7SLeo Yan
5035028bd7SLeo Yan	virtio_block@1c130000 {
5135028bd7SLeo Yan		compatible = "virtio,mmio";
5235028bd7SLeo Yan		reg = <0x0 0x1c130000 0x0 0x200>;
5335028bd7SLeo Yan		/* spec lists this wrong */
5435028bd7SLeo Yan		interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
5535028bd7SLeo Yan	};
5635028bd7SLeo Yan};
57