| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
|
| 3 |
/dts-v1/; |
| 4 |
|
| 5 |
#include "rk3399-nanopi-r4s.dtsi" |
| 6 |
|
| 7 |
/ { |
| 8 |
model = "FriendlyElec NanoPi R4S Enterprise Edition"; |
| 9 |
compatible = "friendlyarm,nanopi-r4s-enterprise", "rockchip,rk3399"; |
| 10 |
}; |
| 11 |
|
| 12 |
&gmac { |
| 13 |
nvmem-cells = <&mac_address>; |
| 14 |
nvmem-cell-names = "mac-address"; |
| 15 |
}; |
| 16 |
|
| 17 |
&i2c2 { |
| 18 |
eeprom@51 { |
| 19 |
compatible = "microchip,24c02", "atmel,24c02"; |
| 20 |
reg = <0x51>; |
| 21 |
pagesize = <16>; |
| 22 |
size = <256>; |
| 23 |
#address-cells = <1>; |
| 24 |
#size-cells = <1>; |
| 25 |
|
| 26 |
mac_address: mac-address@fa { |
| 27 |
reg = <0xfa 0x06>; |
| 28 |
}; |
| 29 |
}; |
| 30 |
}; |