1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 /* 2 /* 3 * Broadcom BCM470X / BCM5301X ARM platform co 3 * Broadcom BCM470X / BCM5301X ARM platform code. 4 * DTS for Luxul XWC-1000 4 * DTS for Luxul XWC-1000 5 * 5 * 6 * Copyright 2014 Luxul Inc. 6 * Copyright 2014 Luxul Inc. 7 */ 7 */ 8 8 9 /dts-v1/; 9 /dts-v1/; 10 10 11 #include "bcm4708.dtsi" 11 #include "bcm4708.dtsi" 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 13 14 / { 14 / { 15 compatible = "luxul,xwc-1000", "brcm,b 15 compatible = "luxul,xwc-1000", "brcm,bcm4708"; 16 model = "Luxul XWC-1000 (BCM4708)"; 16 model = "Luxul XWC-1000 (BCM4708)"; 17 17 18 chosen { 18 chosen { 19 bootargs = "console=ttyS0,1152 19 bootargs = "console=ttyS0,115200 earlycon"; 20 }; 20 }; 21 21 22 memory@0 { 22 memory@0 { 23 device_type = "memory"; 23 device_type = "memory"; 24 reg = <0x00000000 0x08000000>; 24 reg = <0x00000000 0x08000000>; 25 }; 25 }; 26 26 27 nvram@1eff0000 { 27 nvram@1eff0000 { 28 compatible = "brcm,nvram"; 28 compatible = "brcm,nvram"; 29 reg = <0x1eff0000 0x10000>; 29 reg = <0x1eff0000 0x10000>; 30 30 31 et0macaddr: et0macaddr { 31 et0macaddr: et0macaddr { 32 }; 32 }; 33 }; 33 }; 34 34 35 nand_controller: nand-controller@18028 35 nand_controller: nand-controller@18028000 { 36 nand@0 { 36 nand@0 { 37 partitions { 37 partitions { 38 compatible = " 38 compatible = "fixed-partitions"; 39 #address-cells 39 #address-cells = <1>; 40 #size-cells = 40 #size-cells = <1>; 41 41 42 partition@0 { 42 partition@0 { 43 label 43 label = "ubi"; 44 reg = 44 reg = <0x00000000 0x08000000>; 45 }; 45 }; 46 }; 46 }; 47 }; 47 }; 48 }; 48 }; 49 49 50 leds { 50 leds { 51 compatible = "gpio-leds"; 51 compatible = "gpio-leds"; 52 52 53 led-status { 53 led-status { 54 label = "bcm53xx:green 54 label = "bcm53xx:green:status"; 55 gpios = <&chipcommon 0 55 gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>; 56 linux,default-trigger 56 linux,default-trigger = "timer"; 57 }; 57 }; 58 }; 58 }; 59 59 60 gpio-keys { 60 gpio-keys { 61 compatible = "gpio-keys"; 61 compatible = "gpio-keys"; 62 62 63 button-restart { 63 button-restart { 64 label = "Reset"; 64 label = "Reset"; 65 linux,code = <KEY_REST 65 linux,code = <KEY_RESTART>; 66 gpios = <&chipcommon 7 66 gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>; 67 }; 67 }; 68 }; 68 }; 69 }; 69 }; 70 70 71 &gmac0 { 71 &gmac0 { 72 nvmem-cells = <&et0macaddr>; 72 nvmem-cells = <&et0macaddr>; 73 nvmem-cell-names = "mac-address"; 73 nvmem-cell-names = "mac-address"; 74 }; 74 }; 75 75 76 &spi_nor { 76 &spi_nor { 77 status = "okay"; 77 status = "okay"; 78 }; 78 }; 79 79 80 &srab { 80 &srab { 81 status = "okay"; 81 status = "okay"; 82 82 83 ports { 83 ports { 84 port@4 { 84 port@4 { 85 label = "lan"; 85 label = "lan"; 86 }; 86 }; 87 87 88 port@5 { 88 port@5 { 89 label = "cpu"; 89 label = "cpu"; 90 }; 90 }; 91 91 92 port@7 { 92 port@7 { 93 status = "disabled"; 93 status = "disabled"; 94 }; 94 }; 95 95 96 port@8 { 96 port@8 { 97 status = "disabled"; 97 status = "disabled"; 98 }; 98 }; 99 }; 99 }; 100 }; 100 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.