Files
Linux_Drivers/u-boot-2021.10/doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

35 lines
720 B
Plaintext

Onewire EEPROM sandbox driver device binding - one wire protocol sandbox EEPROM
=======================
This memory needs to be connected to a onewire bus, as a child node.
The bus will read the device serial number and match this node with a found
device on the bus
Also check doc/device-tree-bindings/w1 for onewire bus drivers
Driver:
- drivers/w1-eeprom/eep_sandbox.c
Software ds24xxx device-tree node properties:
Required:
* compatible = "sandbox,w1-eeprom"
Optional:
* none
Example:
eeprom1: eeprom@0 {
compatible = "sandbox,w1-eeprom";
}
Example with parent bus:
onewire_tm: onewire {
compatible = "w1-gpio";
gpios = <&gpio_a 8>;
eeprom1: eeprom@0 {
compatible = "sandbox,w1-eeprom";
}
};