ramips: 5.15: add disabled PINCTRL_AW9523
[openwrt/staging/hauke.git] / target / linux / realtek / dts-5.10 / rtl838x_d-link_dgs-1210_common.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "rtl838x.dtsi"
4
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/gpio/gpio.h>
7
8 / {
9 aliases {
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
14 };
15
16 memory@0 {
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
19 };
20
21 leds: leds {
22 pinctrl-names = "default";
23 pinctrl-0 = <&pinmux_disable_sys_led>;
24 compatible = "gpio-leds";
25
26 led_power: power {
27 label = "green:power";
28 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
29 };
30 };
31 };
32
33 &gpio0 {
34 indirect-access-bus-id = <0>;
35 };
36
37 &spi0 {
38 status = "okay";
39 flash@0 {
40 compatible = "jedec,spi-nor";
41 reg = <0>;
42 spi-max-frequency = <10000000>;
43
44 partitions {
45 compatible = "fixed-partitions";
46 #address-cells = <1>;
47 #size-cells = <1>;
48
49 partition@0 {
50 label = "u-boot";
51 reg = <0x00000000 0x80000>;
52 read-only;
53 };
54 partition@80000 {
55 label = "u-boot-env";
56 reg = <0x00080000 0x40000>;
57 };
58 partition@c0000 {
59 label = "board-name";
60 reg = <0x000c0000 0x40000>;
61 };
62 partition@280000 {
63 label = "firmware";
64 compatible = "denx,uimage";
65 reg = <0x00100000 0xd80000>;
66 };
67 partition@be80000 {
68 label = "kernel2";
69 reg = <0x00e80000 0x180000>;
70 };
71 partition@1000000 {
72 label = "sysinfo";
73 reg = <0x01000000 0x40000>;
74 };
75 partition@1040000 {
76 label = "rootfs2";
77 reg = <0x01040000 0xc00000>;
78 };
79 partition@1c40000 {
80 label = "jffs2";
81 reg = <0x01c40000 0x3c0000>;
82 };
83 };
84 };
85 };