| 1 |
// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause |
| 2 |
|
| 3 |
/dts-v1/; |
| 4 |
|
| 5 |
#include "rtl838x.dtsi" |
| 6 |
|
| 7 |
#include <dt-bindings/gpio/gpio.h> |
| 8 |
|
| 9 |
/ { |
| 10 |
model = "Cisco SG220-26"; |
| 11 |
compatible = "cisco,sg220-26", "realtek,rtl8382-soc"; |
| 12 |
|
| 13 |
chosen { |
| 14 |
stdout-path = "serial0:9600n8"; |
| 15 |
bootargs = "earlycon console=ttyS0,9600"; |
| 16 |
}; |
| 17 |
|
| 18 |
memory@0 { |
| 19 |
device_type = "memory"; |
| 20 |
reg = <0x0 0x8000000>; |
| 21 |
}; |
| 22 |
|
| 23 |
gpio-restart { |
| 24 |
compatible = "gpio-restart"; |
| 25 |
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; |
| 26 |
priority = <192>; |
| 27 |
open-source; |
| 28 |
}; |
| 29 |
}; |
| 30 |
|
| 31 |
&uart0 { |
| 32 |
status = "okay"; |
| 33 |
}; |