Philippe Reynes | 1d5555f | 2022-02-11 19:18:34 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Copyright (C) 2022 Philippe Reynes <philippe.reynes@softathome.com> |
| 4 | */ |
| 5 | |
| 6 | #include "skeleton.dtsi" |
| 7 | |
| 8 | / { |
| 9 | compatible = "brcm,bcm6753"; |
| 10 | #address-cells = <1>; |
| 11 | #size-cells = <1>; |
| 12 | |
| 13 | cpus { |
| 14 | #address-cells = <1>; |
| 15 | #size-cells = <0>; |
| 16 | u-boot,dm-pre-reloc; |
| 17 | |
| 18 | cpu0: cpu@0 { |
| 19 | compatible = "arm,cortex-a7"; |
| 20 | device_type = "cpu"; |
| 21 | reg = <0x0>; |
| 22 | next-level-cache = <&l2>; |
| 23 | u-boot,dm-pre-reloc; |
| 24 | }; |
| 25 | |
| 26 | cpu1: cpu@1 { |
| 27 | compatible = "arm,cortex-a7"; |
| 28 | device_type = "cpu"; |
| 29 | reg = <0x1>; |
| 30 | next-level-cache = <&l2>; |
| 31 | u-boot,dm-pre-reloc; |
| 32 | }; |
| 33 | |
| 34 | cpu2: cpu@2 { |
| 35 | compatible = "arm,cortex-a7"; |
| 36 | device_type = "cpu"; |
| 37 | reg = <0x2>; |
| 38 | next-level-cache = <&l2>; |
| 39 | u-boot,dm-pre-reloc; |
| 40 | }; |
| 41 | |
| 42 | l2: l2-cache0 { |
| 43 | compatible = "cache"; |
| 44 | u-boot,dm-pre-reloc; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | clocks { |
| 49 | compatible = "simple-bus"; |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <1>; |
| 52 | ranges; |
| 53 | u-boot,dm-pre-reloc; |
| 54 | |
| 55 | periph_osc: periph-osc { |
| 56 | compatible = "fixed-clock"; |
| 57 | #clock-cells = <0>; |
| 58 | clock-frequency = <200000000>; |
| 59 | u-boot,dm-pre-reloc; |
| 60 | }; |
| 61 | |
| 62 | hsspi_pll: hsspi-pll { |
| 63 | compatible = "fixed-factor-clock"; |
| 64 | #clock-cells = <0>; |
| 65 | clocks = <&periph_osc>; |
| 66 | clock-mult = <2>; |
| 67 | clock-div = <1>; |
| 68 | }; |
| 69 | |
| 70 | refclk50mhz: refclk50mhz { |
| 71 | compatible = "fixed-clock"; |
| 72 | #clock-cells = <0>; |
| 73 | clock-frequency = <50000000>; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | ubus { |
| 78 | compatible = "simple-bus"; |
| 79 | #address-cells = <1>; |
| 80 | #size-cells = <1>; |
| 81 | u-boot,dm-pre-reloc; |
| 82 | |
| 83 | uart0: serial@ff812000 { |
| 84 | compatible = "arm,pl011", "arm,primecell"; |
| 85 | reg = <0xff812000 0x1000>; |
| 86 | clock = <50000000>; |
| 87 | |
| 88 | status = "disabled"; |
| 89 | }; |
| 90 | |
| 91 | wdt1: watchdog@ff800480 { |
| 92 | compatible = "brcm,bcm6345-wdt"; |
| 93 | reg = <0xff800480 0x14>; |
| 94 | clocks = <&refclk50mhz>; |
| 95 | }; |
| 96 | |
| 97 | wdt2: watchdog@ff8004c0 { |
| 98 | compatible = "brcm,bcm6345-wdt"; |
| 99 | reg = <0xff8004c0 0x14>; |
| 100 | clocks = <&refclk50mhz>; |
| 101 | }; |
| 102 | |
| 103 | wdt-reboot { |
| 104 | compatible = "wdt-reboot"; |
| 105 | wdt = <&wdt1>; |
| 106 | }; |
| 107 | |
| 108 | gpio0: gpio-controller@0xff800500 { |
| 109 | compatible = "brcm,bcm6345-gpio"; |
| 110 | reg = <0xff800500 0x4>, |
| 111 | <0xff800520 0x4>; |
| 112 | gpio-controller; |
| 113 | #gpio-cells = <2>; |
| 114 | |
| 115 | status = "disabled"; |
| 116 | }; |
| 117 | |
| 118 | gpio1: gpio-controller@0xff800504 { |
| 119 | compatible = "brcm,bcm6345-gpio"; |
| 120 | reg = <0xff800504 0x4>, |
| 121 | <0xff800524 0x4>; |
| 122 | gpio-controller; |
| 123 | #gpio-cells = <2>; |
| 124 | |
| 125 | status = "disabled"; |
| 126 | }; |
| 127 | |
| 128 | gpio2: gpio-controller@0xff800508 { |
| 129 | compatible = "brcm,bcm6345-gpio"; |
| 130 | reg = <0xff800508 0x4>, |
| 131 | <0xff800528 0x4>; |
| 132 | gpio-controller; |
| 133 | #gpio-cells = <2>; |
| 134 | |
| 135 | status = "disabled"; |
| 136 | }; |
| 137 | |
| 138 | gpio3: gpio-controller@0xff80050c { |
| 139 | compatible = "brcm,bcm6345-gpio"; |
| 140 | reg = <0xff80050c 0x4>, |
| 141 | <0xff80052c 0x4>; |
| 142 | gpio-controller; |
| 143 | #gpio-cells = <2>; |
| 144 | |
| 145 | status = "disabled"; |
| 146 | }; |
| 147 | |
| 148 | gpio4: gpio-controller@0xff800510 { |
| 149 | compatible = "brcm,bcm6345-gpio"; |
| 150 | reg = <0xff800510 0x4>, |
| 151 | <0xff800530 0x4>; |
| 152 | gpio-controller; |
| 153 | #gpio-cells = <2>; |
| 154 | |
| 155 | status = "disabled"; |
| 156 | }; |
| 157 | |
| 158 | gpio5: gpio-controller@0xff800514 { |
| 159 | compatible = "brcm,bcm6345-gpio"; |
| 160 | reg = <0xff800514 0x4>, |
| 161 | <0xff800534 0x4>; |
| 162 | gpio-controller; |
| 163 | #gpio-cells = <2>; |
| 164 | |
| 165 | status = "disabled"; |
| 166 | }; |
| 167 | |
| 168 | gpio6: gpio-controller@0xff800518 { |
| 169 | compatible = "brcm,bcm6345-gpio"; |
| 170 | reg = <0xff800518 0x4>, |
| 171 | <0xff800538 0x4>; |
| 172 | gpio-controller; |
| 173 | #gpio-cells = <2>; |
| 174 | |
| 175 | status = "disabled"; |
| 176 | }; |
| 177 | |
| 178 | gpio7: gpio-controller@0xff80051c { |
| 179 | compatible = "brcm,bcm6345-gpio"; |
| 180 | reg = <0xff80051c 0x4>, |
| 181 | <0xff80053c 0x4>; |
| 182 | gpio-controller; |
| 183 | #gpio-cells = <2>; |
| 184 | |
| 185 | status = "disabled"; |
| 186 | }; |
| 187 | |
| 188 | nand: nand-controller@ff801800 { |
| 189 | compatible = "brcm,nand-bcm6753", |
| 190 | "brcm,brcmnand-v5.0", |
| 191 | "brcm,brcmnand"; |
| 192 | reg-names = "nand", "nand-int-base", "nand-cache"; |
| 193 | reg = <0xff801800 0x180>, |
| 194 | <0xff802000 0x10>, |
| 195 | <0xff801c00 0x200>; |
| 196 | parameter-page-big-endian = <0>; |
| 197 | |
| 198 | status = "disabled"; |
| 199 | }; |
Philippe Reynes | 66425ca | 2022-02-17 17:17:05 +0100 | [diff] [blame^] | 200 | |
| 201 | leds: led-controller@ff803000 { |
| 202 | compatible = "brcm,bcm6753-leds"; |
| 203 | reg = <0xff803000 0x3480>; |
| 204 | |
| 205 | status = "disabled"; |
| 206 | }; |
Philippe Reynes | 1d5555f | 2022-02-11 19:18:34 +0100 | [diff] [blame] | 207 | }; |
| 208 | }; |