An electronic circuit is disclosed. The electronic circuit includes a substrate having GaN, and a power switch formed on the substrate and including a first control gate and a first source. The electronic circuit also includes a drive circuit formed on the substrate and including an output coupled to the first control gate, and a power supply having a supply voltage and coupled to the drive circuit, where the output can be driven to the supply voltage.