adding mag switch pin out and green button pin out config