1*6a984d66SEugen HristevOnewire EEPROM sandbox driver device binding - one wire protocol sandbox EEPROM 2*6a984d66SEugen Hristev======================= 3*6a984d66SEugen Hristev 4*6a984d66SEugen HristevThis memory needs to be connected to a onewire bus, as a child node. 5*6a984d66SEugen HristevThe bus will read the device serial number and match this node with a found 6*6a984d66SEugen Hristevdevice on the bus 7*6a984d66SEugen HristevAlso check doc/device-tree-bindings/w1 for onewire bus drivers 8*6a984d66SEugen Hristev 9*6a984d66SEugen HristevDriver: 10*6a984d66SEugen Hristev- drivers/w1-eeprom/eep_sandbox.c 11*6a984d66SEugen Hristev 12*6a984d66SEugen HristevSoftware ds24xxx device-tree node properties: 13*6a984d66SEugen HristevRequired: 14*6a984d66SEugen Hristev* compatible = "sandbox,w1-eeprom" 15*6a984d66SEugen Hristev 16*6a984d66SEugen HristevOptional: 17*6a984d66SEugen Hristev* none 18*6a984d66SEugen Hristev 19*6a984d66SEugen HristevExample: 20*6a984d66SEugen Hristev eeprom1: eeprom@0 { 21*6a984d66SEugen Hristev compatible = "sandbox,w1-eeprom"; 22*6a984d66SEugen Hristev } 23*6a984d66SEugen Hristev 24*6a984d66SEugen HristevExample with parent bus: 25*6a984d66SEugen Hristev 26*6a984d66SEugen Hristevonewire_tm: onewire { 27*6a984d66SEugen Hristev compatible = "w1-gpio"; 28*6a984d66SEugen Hristev gpios = <&gpio_a 8>; 29*6a984d66SEugen Hristev 30*6a984d66SEugen Hristev eeprom1: eeprom@0 { 31*6a984d66SEugen Hristev compatible = "sandbox,w1-eeprom"; 32*6a984d66SEugen Hristev } 33*6a984d66SEugen Hristev}; 34*6a984d66SEugen Hristev 35