Abstract:Under the PowerPC architecture Linux2.6 operating system based on FPGA embedded system, the platform devices mechanism is used to control the driver of GPIO controller by interrupt. With this mechanism, the GPIO registers its own resources into the kernel, and generally managed by the kernel. In reference to the Linux2.6 kernel source about platform device driver, compiling and testing of the GPIO device driver. The driver has been verificated in the Xilinx company's FPGA development board ML403, and operates stably.