On 09/10/2014 22:30, Sergei Shtylyov wrote: > >> +- interrupts : Specify the INTC interrupt number +- >> ralink,num-gpios : Specify the number of GPIOs +- >> ralink,register-map : The register layout depends on the GPIO >> bank and actual + SoC type. Register offsets need to be in >> this order. + [ INT, EDGE, RENA, FENA, DATA, DIR, POL, >> SET, RESET, TOGGLE ] > > This should be determined by the "compatible" property alone, I > think. we specifically put this into dts as almost each of the SoC versions has a different register layout. i really want to avoid having to patch the gpio driver whenever ralink/mtk decides to "change the registers yet again". I can change it if must be. but i really would prefer to keep it this way as it will safe me lots of time in future John