Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Marek Behún | 5837168 | 2017-06-09 19:28:42 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017 Marek Behun <marek.behun@nic.cz> |
Marek Behún | 5837168 | 2017-06-09 19:28:42 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | / { |
| 7 | aliases { |
| 8 | i2c0 = &i2c0; |
| 9 | i2c1 = &i2cmux; |
| 10 | spi0 = &spi0; |
| 11 | }; |
| 12 | }; |
| 13 | |
| 14 | &i2c0 { |
| 15 | u-boot,dm-pre-reloc; |
| 16 | |
| 17 | i2cmux: i2cmux@70 { |
| 18 | u-boot,dm-pre-reloc; |
| 19 | |
| 20 | i2c@0 { |
| 21 | u-boot,dm-pre-reloc; |
| 22 | }; |
| 23 | |
| 24 | i2c@1 { |
| 25 | u-boot,dm-pre-reloc; |
| 26 | }; |
| 27 | |
| 28 | i2c@5 { |
| 29 | u-boot,dm-pre-reloc; |
| 30 | |
| 31 | /* ATSHA204A at address 0x64 */ |
Pali Rohár | 9300f6c | 2022-04-08 16:30:15 +0200 | [diff] [blame] | 32 | crypto@64 { |
Marek Behún | 5837168 | 2017-06-09 19:28:42 +0200 | [diff] [blame] | 33 | u-boot,dm-pre-reloc; |
| 34 | compatible = "atmel,atsha204a"; |
| 35 | reg = <0x64>; |
| 36 | }; |
| 37 | }; |
| 38 | }; |
| 39 | }; |
| 40 | |
Rogier Stam | e0e10d4 | 2022-02-09 00:27:00 +0100 | [diff] [blame] | 41 | #ifdef CONFIG_ENV_IS_IN_SPI_FLASH |
Marek Behún | 5837168 | 2017-06-09 19:28:42 +0200 | [diff] [blame] | 42 | &spi0 { |
| 43 | u-boot,dm-pre-reloc; |
| 44 | |
Marek Behún | df403b7 | 2021-02-09 03:43:03 +0100 | [diff] [blame] | 45 | spi-nor@0 { |
Marek Behún | 5837168 | 2017-06-09 19:28:42 +0200 | [diff] [blame] | 46 | u-boot,dm-pre-reloc; |
Marek Behún | 3e83efa | 2021-07-15 19:21:01 +0200 | [diff] [blame] | 47 | |
| 48 | partitions { |
| 49 | partition@0 { |
| 50 | reg = <0x0 CONFIG_ENV_OFFSET>; |
| 51 | }; |
| 52 | |
| 53 | partition@f0000 { |
| 54 | reg = <CONFIG_ENV_OFFSET CONFIG_ENV_SIZE>; |
| 55 | label = "u-boot-env"; |
| 56 | }; |
| 57 | }; |
Marek Behún | 5837168 | 2017-06-09 19:28:42 +0200 | [diff] [blame] | 58 | }; |
| 59 | }; |
Rogier Stam | e0e10d4 | 2022-02-09 00:27:00 +0100 | [diff] [blame] | 60 | #endif |
Marek Behún | 5837168 | 2017-06-09 19:28:42 +0200 | [diff] [blame] | 61 | |
| 62 | &uart0 { |
| 63 | u-boot,dm-pre-reloc; |
| 64 | }; |