xref: /freebsd/sys/contrib/device-tree/src/arm64/amd/elba-asic-common.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1// SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
2/*
3 * Copyright 2020-2022 Advanced Micro Devices, Inc.
4 */
5
6&ahb_clk {
7	clock-frequency = <400000000>;
8};
9
10&emmc_clk {
11	clock-frequency = <200000000>;
12};
13
14&flash_clk {
15	clock-frequency = <400000000>;
16};
17
18&ref_clk {
19	clock-frequency = <156250000>;
20};
21
22&qspi {
23	status = "okay";
24
25	flash0: flash@0 {
26		compatible = "jedec,spi-nor";
27		reg = <0>;
28		spi-max-frequency = <40000000>;
29		spi-rx-bus-width = <2>;
30		m25p,fast-read;
31		cdns,read-delay = <0>;
32		cdns,tshsl-ns = <0>;
33		cdns,tsd2d-ns = <0>;
34		cdns,tchsh-ns = <0>;
35		cdns,tslch-ns = <0>;
36	};
37};
38
39&gpio0 {
40	status = "okay";
41};
42
43&emmc {
44	bus-width = <8>;
45	cap-mmc-hw-reset;
46	status = "okay";
47};
48
49&wdt0 {
50	status = "okay";
51};
52
53&i2c0 {
54	clock-frequency = <100000>;
55	status = "okay";
56
57	rtc@51 {
58		compatible = "nxp,pcf85263";
59		reg = <0x51>;
60	};
61};
62
63&spi0 {
64	#address-cells = <1>;
65	#size-cells = <0>;
66	num-cs = <4>;
67	cs-gpios = <0>, <0>, <&porta 1 GPIO_ACTIVE_LOW>,
68		   <&porta 7 GPIO_ACTIVE_LOW>;
69	status = "okay";
70};
71