summaryrefslogtreecommitdiff
path: root/arch/arm/dts/rk3568-odroid-m1.dts
blob: 8662db94e7b77cf7fc4ec0c5b774533f6fedc716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
 * SPDX-License-Identifier:     GPL-2.0+
 *
 * (C) Copyright 2021 Hardkernel Co., Ltd
 */

/dts-v1/;
#include "rk3568-evb.dts"

/ {
	model = "Hardkernel ODROID-M1";
	compatible = "hardkernel,odroid-m1", "rockchip,rk3568";

	aliases {
		ethernet0 = &gmac0;
		mmc0 = &sdhci;
		mmc1 = &sdmmc0;
	};

	chosen {
		stdout-path = &uart2;
		u-boot,spl-boot-order = &spi_nor, &sdhci, &sdmmc0;
	};

	/delete-node/ adc-keys;
};

&gmac0 {
	snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
	status = "okay";
};

&gmac1 {
	status = "disabled";
};

&nandc0 {
	status = "disabled";
};

&sdhci {
	pinctrl-names = "default";
	pinctrl-0 = <&emmc_bus8
		     &emmc_clk
		     &emmc_cmd
		     &emmc_datastrobe
		     &emmc_rstnout>;
	non-removable;
	cap-mmc-hw-reset;
};

&sfc {
	spi_nor: flash@0 {
		u-boot,dm-spl;
		compatible = "jedec,spi-nor";
		label = "sfc_nor";
		reg = <0>;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <1>;
		spi-max-frequency = <100000000>;
	};

	/delete-node/ flash@1;
};