s" /builtin" find-device new-device 1 encode-int s" #address-cells" property 0 encode-int s" #size-cells" property s" mdio" 2dup device-name device-type s" mpc5200b-fec-phy" encode-string s" compatible" property 0xf0003000 0x400 reg 0x2 encode-int 0x5 encode-int 0x3 encode-int encode+ encode+ s" interrupts" property new-device s" ethernet-phy" 2dup device-name device-type 0x10 encode-int s" reg" property my-self \ save our phandle to stack ihandle>phandle finish-device finish-device s" /builtin/ethernet" find-device encode-int \ phy's phandle s" phy-handle" property device-end