/Linux-v6.1/Documentation/devicetree/bindings/nvmem/ |
D | u-boot,env.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/nvmem/u-boot,env.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: U-Boot environment variables 10 U-Boot uses environment variables to store device parameters and 14 Data is stored using U-Boot specific formats (variant specific header and NUL 15 separated key-value pairs). 21 This binding allows marking storage device (as containing env data) and 30 - Rafał Miłecki <rafal@milecki.pl> [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | openbmc-flash-layout.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 compatible = "fixed-partitions"; 5 #address-cells = <1>; 6 #size-cells = <1>; 8 u-boot@0 { 10 label = "u-boot"; 13 u-boot-env@60000 { 15 label = "u-boot-env";
|
D | openbmc-flash-layout-128.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 compatible = "fixed-partitions"; 5 #address-cells = <1>; 6 #size-cells = <1>; 8 u-boot@0 { 10 label = "u-boot"; 13 u-boot-env@e0000 { 15 label = "u-boot-env";
|
D | openbmc-flash-layout-64.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 7 compatible = "fixed-partitions"; 8 #address-cells = <1>; 9 #size-cells = <1>; 11 u-boot@0 { 13 label = "u-boot"; 16 u-boot-env@e0000 { 18 label = "u-boot-env";
|
D | openbmc-flash-layout-64-alt.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 7 compatible = "fixed-partitions"; 8 #address-cells = <1>; 9 #size-cells = <1>; 11 u-boot@0 { 13 label = "alt-u-boot"; 16 u-boot-env@e0000 { 18 label = "alt-u-boot-env"; 23 label = "alt-kernel"; 28 label = "alt-rofs"; [all …]
|
D | facebook-bmc-flash-layout-128.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 compatible = "fixed-partitions"; 6 #address-cells = <1>; 7 #size-cells = <1>; 10 * u-boot partition: 896KB. 12 u-boot@0 { 14 label = "u-boot"; 18 * u-boot environment variables: 64KB. 20 u-boot-env@e0000 { 22 label = "env"; [all …]
|
D | armada-xp-crs328-4c-20s-4s-bit.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for MikroTik CRS328-4C-20S-4S+ Bit board 9 #include "armada-xp-crs328-4c-20s-4s.dtsi" 12 model = "MikroTik CRS328-4C-20S-4S+ Bit"; 19 #address-cells = <1>; 20 #size-cells = <1>; 21 compatible = "jedec,spi-nor"; 23 spi-max-frequency = <108000000>; 24 m25p,fast-read; 26 partition@u-boot { [all …]
|
D | armada-xp-crs305-1g-4s-bit.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for MikroTik CRS305-1G-4S+ Bit board 9 #include "armada-xp-crs305-1g-4s.dtsi" 12 model = "MikroTik CRS305-1G-4S+ Bit"; 19 #address-cells = <1>; 20 #size-cells = <1>; 21 compatible = "jedec,spi-nor"; 23 spi-max-frequency = <108000000>; 24 m25p,fast-read; 26 partition@u-boot { [all …]
|
D | armada-xp-crs326-24g-2s-bit.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for MikroTik CRS326-24G-2S+ Bit board 9 #include "armada-xp-crs326-24g-2s.dtsi" 12 model = "MikroTik CRS326-24G-2S+ Bit"; 19 #address-cells = <1>; 20 #size-cells = <1>; 21 compatible = "jedec,spi-nor"; 23 spi-max-frequency = <108000000>; 24 m25p,fast-read; 26 partition@u-boot { [all …]
|
D | facebook-bmc-flash-layout.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 compatible = "fixed-partitions"; 6 #address-cells = <1>; 7 #size-cells = <1>; 9 u-boot@0 { 11 label = "u-boot"; 14 u-boot-env@60000 { 16 label = "env";
|
D | armada-xp-crs328-4c-20s-4s.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for CRS328-4C-20S-4S+ board 8 * Based on armada-xp-db.dts 13 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 20 /dts-v1/; 21 #include "armada-xp-98dx3236.dtsi" 24 model = "CRS328-4C-20S-4S+"; 25 compatible = "mikrotik,crs328-4c-20s-4s", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; 38 arm,parity-enable; 39 marvell,ecc-enable; [all …]
|
D | armada-xp-crs305-1g-4s.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for CRS305-1G-4S board 8 * Based on armada-xp-db.dts 13 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 20 /dts-v1/; 21 #include "armada-xp-98dx3236.dtsi" 24 model = "CRS305-1G-4S+"; 25 compatible = "mikrotik,crs305-1g-4s", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; 38 arm,parity-enable; 39 marvell,ecc-enable; [all …]
|
D | armada-xp-crs326-24g-2s.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for CRS326-24G-2S board 8 * Based on armada-xp-db.dts 13 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 20 /dts-v1/; 21 #include "armada-xp-98dx3236.dtsi" 24 model = "CRS326-24G-2S+"; 25 compatible = "mikrotik,crs326-24g-2s", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp"; 38 arm,parity-enable; 39 marvell,ecc-enable; [all …]
|
D | kirkwood-t5325.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 /dts-v1/; 15 #include "kirkwood-6281.dtsi" 19 compatible = "hp,t5325", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 28 stdout-path = &uart0; 32 pinctrl: pin-controller@10000 { 33 pinctrl-0 = <&pmx_i2s &pmx_sysrst>; 34 pinctrl-names = "default"; 36 pmx_button_power: pmx-button_power { [all …]
|
D | armada-xp-db-xc3-24g4xg.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-XC3-24G4XG board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx3336.dtsi" 23 model = "DB-XC3-24G4XG"; 24 compatible = "marvell,db-xc3-24g4xg", "marvell,armadaxp-98dx3336", "marvell,armada-370-xp"; 37 arm,parity-enable; 38 marvell,ecc-enable; [all …]
|
D | armada-xp-db-dxbc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-DXBC2 board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx4251.dtsi" 24 compatible = "marvell,db-dxbc2", "marvell,armadaxp-98dx4251", "marvell,armada-370-xp"; 43 devbus,bus-width = <16>; 44 devbus,turn-off-ps = <60000>; 45 devbus,badr-skew-ps = <0>; [all …]
|
D | bcm53015-meraki-mr26.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 #include <dt-bindings/leds/common.h> 25 compatible = "gpio-leds"; 27 led-0 { 31 panic-indicator; 33 led-1 { 41 compatible = "gpio-keys"; 42 #address-cells = <1>; [all …]
|
D | at91sam9x5cm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module 16 clock-frequency = <32768>; 20 clock-frequency = <12000000>; 28 compatible = "atmel,tcb-timer"; 33 compatible = "atmel,tcb-timer"; 40 pinctrl_1wire_cm: 1wire_cm-0 { 52 pinctrl-0 = <&pinctrl_ebi_addr_nand 54 pinctrl-names = "default"; 57 nand_controller: nand-controller { [all …]
|
D | dra72-evm-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "dra7-ipu-dsp-common.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/clock/ti-dra7-atl.h> 13 compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; 20 stdout-path = &uart1; 23 evm_12v0: fixedregulator-evm12v0 { 25 compatible = "regulator-fixed"; [all …]
|
D | aspeed-bmc-opp-mowgli.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 9 compatible = "ibm,mowgli-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; [all …]
|
D | at91-som60.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-som60.dtsi - Device Tree file for the SOM60 module 16 stdout-path = &dbgu; 25 clock-frequency = <32768>; 29 clock-frequency = <12000000>; 107 bus-width = <8>; 115 bus-width = <4>; 120 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; 124 atmel,use-dma-rx; 125 atmel,use-dma-tx; [all …]
|
D | aspeed-bmc-opp-witherspoon.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 9 compatible = "ibm,witherspoon-bmc", "aspeed,ast2500"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
/Linux-v6.1/arch/mips/alchemy/common/ |
D | prom.c | 4 * PROM library initialisation code, supports YAMON and U-Boot. 6 * Copyright 2000-2001, 2006, 2008 MontaVista Software Inc. 10 * arch/mips/mips-boards/xx files. 54 if (i < (prom_argc - 1)) in prom_init_cmdline() 63 * YAMON uses "name", "value" pairs, while U-Boot uses "name=value". in prom_getenv() 66 char **env = prom_envp; in prom_getenv() local 68 int yamon = (*env && strchr(*env, '=') == NULL); in prom_getenv() 70 while (*env) { in prom_getenv() 72 if (strcmp(envname, *env++) == 0) in prom_getenv() 73 return *env; in prom_getenv() [all …]
|
/Linux-v6.1/drivers/mtd/parsers/ |
D | brcm_u-boot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 "u-boot-env", 26 "u-boot-env-backup", 42 return -ENOMEM; in brcm_u_boot_parse() 45 offset < min_t(size_t, mtd->size, BRCM_U_BOOT_MAX_OFFSET); in brcm_u_boot_parse() 49 pr_err("Failed to read from %s at 0x%zx: %d\n", mtd->name, offset, err); in brcm_u_boot_parse() 72 { .compatible = "brcm,u-boot" }, 79 .name = "brcm_u-boot",
|
/Linux-v6.1/drivers/nvmem/ |
D | u-boot-env.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/nvmem-consumer.h> 11 #include <linux/nvmem-provider.h> 47 struct device *dev = priv->dev; in u_boot_env_read() 51 err = mtd_read(priv->mtd, offset, bytes, &bytes_read, val); in u_boot_env_read() 59 return -EIO; in u_boot_env_read() 68 struct device *dev = priv->dev; in u_boot_env_add_cells() 73 priv->ncells = 0; in u_boot_env_add_cells() 75 priv->ncells++; in u_boot_env_add_cells() 77 priv->cells = devm_kcalloc(dev, priv->ncells, sizeof(*priv->cells), GFP_KERNEL); in u_boot_env_add_cells() [all …]
|