Linus Walleij | 88bf0af | 2023-09-26 11:23:39 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2023 Linus Walleij <linusw@kernel.org> |
| 4 | * |
| 5 | * This is a diet version of the device tree from Linux, |
| 6 | * suitable for U-Boot. |
| 7 | */ |
| 8 | |
| 9 | /dts-v1/; |
| 10 | |
| 11 | #include "brcm,bcm6328.dtsi" |
| 12 | |
| 13 | / { |
| 14 | model = "Inteno XG6846"; |
| 15 | compatible = "inteno,xg6846", "brcm,bcm6328"; |
| 16 | |
| 17 | aliases { |
| 18 | serial0 = &uart0; |
| 19 | }; |
| 20 | |
| 21 | chosen { |
| 22 | stdout-path = "serial0:115200n8"; |
| 23 | }; |
| 24 | }; |
| 25 | |
| 26 | &leds { |
| 27 | status = "okay"; |
| 28 | |
| 29 | led@18 { |
| 30 | reg = <18>; |
| 31 | active-low; |
| 32 | label = "red:pwr"; |
| 33 | }; |
| 34 | |
| 35 | led@20 { |
| 36 | reg = <20>; |
| 37 | active-low; |
| 38 | label = "green:pwr"; |
| 39 | }; |
| 40 | }; |
| 41 | |
| 42 | &spi { |
| 43 | status = "okay"; |
| 44 | |
| 45 | spi-flash@0 { |
| 46 | compatible = "jedec,spi-nor"; |
| 47 | reg = <0>; |
| 48 | #address-cells = <1>; |
| 49 | #size-cells = <1>; |
| 50 | spi-max-frequency = <33333334>; |
| 51 | }; |
| 52 | }; |
| 53 | |
| 54 | &uart0 { |
| 55 | bootph-all; |
| 56 | status = "okay"; |
| 57 | }; |