Philippe Reynes | 74b4361 | 2018-07-16 19:06:15 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2018 Philippe Reynes <philippe.reynes@softathome.com> |
| 4 | */ |
| 5 | |
| 6 | /dts-v1/; |
| 7 | |
| 8 | #include "brcm,bcm6838.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "Broadcom bcm68380gerg"; |
| 12 | compatible = "broadcom,bcm68380gerg", "brcm,bcm6838"; |
| 13 | |
| 14 | aliases { |
| 15 | serial0 = &uart0; |
| 16 | }; |
| 17 | |
| 18 | chosen { |
| 19 | stdout-path = "serial0:115200n8"; |
| 20 | }; |
| 21 | }; |
| 22 | |
| 23 | &memory { |
| 24 | force-size = <0x10000000>; |
| 25 | }; |
| 26 | |
| 27 | &uart0 { |
| 28 | u-boot,dm-pre-reloc; |
| 29 | status = "okay"; |
| 30 | }; |
| 31 | |
| 32 | &leds { |
| 33 | status = "okay"; |
| 34 | |
| 35 | led@0 { |
| 36 | reg = <0>; |
| 37 | active-low; |
| 38 | label = "bcm968380gerg:green:usb"; |
| 39 | }; |
| 40 | }; |
Philippe Reynes | 4103d82 | 2019-03-07 11:36:33 +0100 | [diff] [blame] | 41 | |
| 42 | &gpio_lo { |
| 43 | status = "okay"; |
| 44 | }; |
| 45 | |
| 46 | &gpio_mid0 { |
| 47 | status = "okay"; |
| 48 | }; |
| 49 | |
| 50 | &gpio_mid1 { |
| 51 | status = "okay"; |
| 52 | }; |
Philippe Reynes | b17fdfe | 2019-03-15 15:14:40 +0100 | [diff] [blame] | 53 | |
| 54 | &nand { |
| 55 | status = "okay"; |
| 56 | |
| 57 | nandcs@0 { |
| 58 | compatible = "brcm,nandcs"; |
| 59 | reg = <0>; |
| 60 | nand-ecc-strength = <4>; |
| 61 | nand-ecc-step-size = <512>; |
| 62 | brcm,nand-oob-sector-size = <16>; |
| 63 | }; |
| 64 | }; |