summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/EASY98000SFLASH.dts
blob: 47f8b47ff1a132f78ef30a83d0c6cb5391b39796 (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
/dts-v1/;

/include/ "falcon.dtsi"

/ {
	model = "EASY98000 - Lantiq Falcon (SFLASH)";

	chosen {
		bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
	};

	memory@0 {
		reg = <0x0 0x2000000>;
	};
	
	localbus@10000000 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "lantiq,sflash-falcon", "simple-bus";
		busnum = <0>;

		m25p80@0 {
			#address-cells = <1>;
			#size-cells = <1>;
			compatible = "s25fl129p0";
			reg = <0 0>;
			linux,modalias = "m25p80", "s25fl129p0";
			spi-max-frequency = <10000000>;

			partition@0 {
				reg = <0x0 0x00080000>;
				label = "SPI (RO) U-Boot Image";
				read-only;
			};
	
			partition@80000 {
				reg = <0x00080000 0x00080000>;
				label = "SPI (RO) DTB Image";
				read-only;
			};

			partition@100000 {
				reg = <0x00100000 0x00400000>;
				label = "SPI (RO) Linux Kernel Image";
				read-only;
			};
		};
	};

	pinmux0 {
		compatible = "lantiq,pinctrl-falcon";
		pinctrl-names = "default";
		pinctrl-0 = <&state_default>;

		state_default: pinmux {
			asc0 {
				lantiq,groups = "asc0";
				lantiq,function = "asc";
			};
			ntr {
				lantiq,groups = "ntr8k";
				lantiq,function = "ntr";
			};
			i2c {
				lantiq,groups = "i2c";
				lantiq,function = "i2c";
			};
			hrst {
				lantiq,groups = "hrst";
				lantiq,function = "rst";
			};
		};
	};
};