You need to make major changes and quickly.
To middle management, you need to advocate for your employees. You need to push for career development and help employees get promoted instead of blocking them from getting promoted.
To upper management, you need to be honest with your employees. Everyone sees the company failing, and all they hear from upper management is to just work harder to meet the schedules that you set. Don't stand up in town halls and blame your employees for not being perfect. Take a page out of your own book and show humility.