1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 /* 2 /* 3 * Copyright (C) 2017 Luxul Inc. 3 * Copyright (C) 2017 Luxul Inc. 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 7 8 #include "bcm4708.dtsi" 8 #include "bcm4708.dtsi" 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 10 10 11 / { 11 / { 12 compatible = "luxul,xbr-4500-v1", "brc 12 compatible = "luxul,xbr-4500-v1", "brcm,bcm47094", "brcm,bcm4708"; 13 model = "Luxul XBR-4500 V1"; 13 model = "Luxul XBR-4500 V1"; 14 14 15 chosen { 15 chosen { 16 bootargs = "earlycon"; 16 bootargs = "earlycon"; 17 }; 17 }; 18 18 19 memory@0 { 19 memory@0 { 20 device_type = "memory"; 20 device_type = "memory"; 21 reg = <0x00000000 0x08000000>, 21 reg = <0x00000000 0x08000000>, 22 <0x88000000 0x18000000>; 22 <0x88000000 0x18000000>; 23 }; 23 }; 24 24 25 nvram@1eff0000 { 25 nvram@1eff0000 { 26 compatible = "brcm,nvram"; 26 compatible = "brcm,nvram"; 27 reg = <0x1eff0000 0x10000>; 27 reg = <0x1eff0000 0x10000>; 28 28 29 et0macaddr: et0macaddr { 29 et0macaddr: et0macaddr { 30 #nvmem-cell-cells = <1 30 #nvmem-cell-cells = <1>; 31 }; 31 }; 32 }; 32 }; 33 33 34 leds { 34 leds { 35 compatible = "gpio-leds"; 35 compatible = "gpio-leds"; 36 36 37 led-status { 37 led-status { 38 label = "bcm53xx:green 38 label = "bcm53xx:green:status"; 39 gpios = <&chipcommon 2 39 gpios = <&chipcommon 20 GPIO_ACTIVE_HIGH>; 40 linux,default-trigger 40 linux,default-trigger = "timer"; 41 }; 41 }; 42 42 43 led-usb3 { 43 led-usb3 { 44 label = "bcm53xx:green 44 label = "bcm53xx:green:usb3"; 45 gpios = <&chipcommon 1 45 gpios = <&chipcommon 19 GPIO_ACTIVE_HIGH>; 46 trigger-sources = <&oh 46 trigger-sources = <&ohci_port1>, <&ehci_port1>, 47 <&xhci_port1>; 47 <&xhci_port1>; 48 linux,default-trigger 48 linux,default-trigger = "usbport"; 49 }; 49 }; 50 50 51 }; 51 }; 52 52 53 gpio-keys { 53 gpio-keys { 54 compatible = "gpio-keys"; 54 compatible = "gpio-keys"; 55 55 56 button-restart { 56 button-restart { 57 label = "Reset"; 57 label = "Reset"; 58 linux,code = <KEY_REST 58 linux,code = <KEY_RESTART>; 59 gpios = <&chipcommon 1 59 gpios = <&chipcommon 17 GPIO_ACTIVE_LOW>; 60 }; 60 }; 61 }; 61 }; 62 }; 62 }; 63 63 64 &usb3 { 64 &usb3 { 65 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE 65 vcc-gpio = <&chipcommon 18 GPIO_ACTIVE_HIGH>; 66 }; 66 }; 67 67 68 &gmac0 { 68 &gmac0 { 69 nvmem-cells = <&et0macaddr 0>; 69 nvmem-cells = <&et0macaddr 0>; 70 nvmem-cell-names = "mac-address"; 70 nvmem-cell-names = "mac-address"; 71 }; 71 }; 72 72 73 &spi_nor { 73 &spi_nor { 74 status = "okay"; 74 status = "okay"; 75 }; 75 }; 76 76 77 &usb3_phy { 77 &usb3_phy { 78 status = "okay"; 78 status = "okay"; 79 }; 79 }; 80 80 81 &srab { 81 &srab { 82 status = "okay"; 82 status = "okay"; 83 83 84 ports { 84 ports { 85 port@0 { 85 port@0 { 86 label = "wan"; 86 label = "wan"; 87 nvmem-cells = <&et0mac 87 nvmem-cells = <&et0macaddr 1>; 88 nvmem-cell-names = "ma 88 nvmem-cell-names = "mac-address"; 89 }; 89 }; 90 90 91 port@1 { 91 port@1 { 92 label = "lan4"; 92 label = "lan4"; 93 }; 93 }; 94 94 95 port@2 { 95 port@2 { 96 label = "lan3"; 96 label = "lan3"; 97 }; 97 }; 98 98 99 port@3 { 99 port@3 { 100 label = "lan2"; 100 label = "lan2"; 101 }; 101 }; 102 102 103 port@4 { 103 port@4 { 104 label = "lan1"; 104 label = "lan1"; 105 }; 105 }; 106 106 107 port@5 { 107 port@5 { 108 label = "cpu"; 108 label = "cpu"; 109 }; 109 }; 110 110 111 port@7 { 111 port@7 { 112 status = "disabled"; 112 status = "disabled"; 113 }; 113 }; 114 114 115 port@8 { 115 port@8 { 116 status = "disabled"; 116 status = "disabled"; 117 }; 117 }; 118 }; 118 }; 119 }; 119 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.