summaryrefslogtreecommitdiff
path: root/target/linux/realtek/dts-5.10/rtl838x_hpe_1920.dtsi
blob: 8e29af62bbf48826490846b84b6bf828fd576934 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include <dt-bindings/input/input.h>
#include <dt-bindings/gpio/gpio.h>

/ {
	chosen {
		bootargs = "console=ttyS0,38400";
	};

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x8000000>;
	};

	watchdog1: watchdog {
		// PT7A7514
		compatible = "linux,wdt-gpio";
		gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
		hw_algo = "toggle";
		hw_margin_ms = <1000>;
		always-running;

		pinctrl-names = "default";
		pinctrl-0 = <&pinmux_disable_sys_led>;
	};
};

&watchdog0 {
	status = "disabled";
};

&spi0 {
	status = "okay";

	flash@0 {
		compatible = "jedec,spi-nor";
		reg = <0>;
		spi-max-frequency = <50000000>;
		m25p,fast-read;

		partitions {
			compatible = "fixed-partitions";
			#address-cells = <1>;
			#size-cells = <1>;

			partition@0 {
				label = "bootware_basic";
				reg = <0x0 0x50000>;
				read-only;
			};

			partition@0x60000 {
				label = "bootware_data";
				reg = <0x60000 0x30000>;
				read-only;
			};

			partition@0x90000 {
				label = "bootware_extend";
				reg = <0x90000 0x40000>;
				read-only;
			};

			partition@0x100000 {
				label = "bootware_basic_backup";
				reg = <0x100000 0x50000>;
				read-only;
			};

			partition@0x160000 {
				label = "bootware_data_backup";
				reg = <0x160000 0x30000>;
				read-only;
			};

			partition@0x190000 {
				label = "bootware_extend_backup";
				reg = <0x190000 0x40000>;
				read-only;
			};

			partition@0x300000 {
				label = "firmware";
				compatible = "h3c,vfs-firmware";
				reg = <0x300000 0x1cf0000>;
			};

			partition@0x1ff0000 {
				label = "factory";
				reg = <0x1ff0000 0x10000>;
				read-only;
			};
		};
	};
};