blob: 82daabbdd45b0df5f7310bd975c9212c88b6a36d (
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
|
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include "ar9344.dtsi"
/ {
model = "TP-Link WDR4300 v1.7";
compatible = "tplink,tl-wdr4300", "tplink,tl-wdr4300-v1.7";
aliases {
serial0 = &uart0;
spiflash = &spiflash;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
chosen {
stdout-path = &uart0;
environment {
compatible = "barebox,environment";
device-path = &spiflash, "partname:barebox-environment";
};
art@0 {
compatible = "qca,art-ar9344", "qca,art";
device-path = &spiflash_art;
barebox,provide-mac-address = <&mac0>;
};
};
};
&ref {
clock-frequency = <40000000>;
};
&uart0 {
status = "okay";
clock-frequency = <40000000>;
};
&wdt0 {
status = "okay";
};
&spi {
num-chipselects = <1>;
status = "okay";
/* Winbond W25Q64CV SPI flash */
spiflash: w25q64cv@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor", "winbond,w25q64cv";
spi-max-frequency = <104000000>;
reg = <0>;
partition@0 {
label = "barebox";
reg = <0 0x80000>;
};
partition@80000 {
label = "barebox-environment";
reg = <0x80000 0x10000>;
};
spiflash_art: partition@7f0000 {
label = "art";
reg = <0x7f0000 0x10000>;
};
};
};
&mac0 {
status = "okay";
};
|