Skip to content

Commit

Permalink
enable OUI assigned mac addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
svenrademakers committed Aug 7, 2024
1 parent e133f13 commit def78a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions tp2bmc/board/tp2bmc/sun8i-t113s-turing-pi2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,15 @@
eeprom@50 {
compatible = "microchip,24c02", "atmel,24c02";
reg = <0x50>;

vcc-supply = <&reg_3v3>;

pagesize = <16>;

#address-cells = <1>;
#size-cells = <1>;

mac_address: mac-address@2c {
reg = <0x2c 0x06>;
};
};

ethernet_switch: ethernet-switch@5c {
Expand Down
1 change: 1 addition & 0 deletions tp2bmc/board/tp2bmc/uboot_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ CONFIG_USB_FUNCTION_ACM=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_USE_DEFAULT_ENV_FILE=y
CONFIG_VERSION_VARIABLE=y
CONFIG_NVMEM=y
2 changes: 1 addition & 1 deletion tp2bmc/configs/tp2bmc_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_GIT=y
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/turing-machines/u-boot.git"
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="915b9b535920b9366cb16d26d943d8b1a87db066"
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="c2150644e5106e8212d160747606908beb8d1de8"
BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG=y
BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_TP2BMC_PATH)/board/tp2bmc/uboot_defconfig"
BR2_TARGET_UBOOT_NEEDS_DTC=y
Expand Down

0 comments on commit def78a4

Please sign in to comment.